CN106201602B - Label providing method, label obtaining method, server and electronic equipment - Google Patents

Label providing method, label obtaining method, server and electronic equipment Download PDF

Info

Publication number
CN106201602B
CN106201602B CN201610513224.1A CN201610513224A CN106201602B CN 106201602 B CN106201602 B CN 106201602B CN 201610513224 A CN201610513224 A CN 201610513224A CN 106201602 B CN106201602 B CN 106201602B
Authority
CN
China
Prior art keywords
information
behavior
application program
program
user
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
CN201610513224.1A
Other languages
Chinese (zh)
Other versions
CN106201602A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610513224.1A priority Critical patent/CN106201602B/en
Publication of CN106201602A publication Critical patent/CN106201602A/en
Application granted granted Critical
Publication of CN106201602B publication Critical patent/CN106201602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a label providing method, an obtaining method, a server and electronic equipment, and aims to solve the technical problem that label information provided by an application program is not accurate enough in the prior art. The method comprises the following steps: respectively obtaining relevant data information of a first application program from M electronic devices, wherein M is a positive integer; determining first label information of the first application program based on the related data information; and providing the first label information to the first electronic equipment so that the first electronic equipment provides the first label information to a user in a mode of being associated with the first application program. The technical effect that the provided label information is more accurate is achieved.

Description

Label providing method, label obtaining method, server and electronic equipment
Technical Field
The invention relates to the field of internet, in particular to a label providing method, a label obtaining method, a server and electronic equipment.
Background
With the continuous development of science and technology, electronic technology has also gained rapid development, and the variety of electronic products is also more and more, and people also enjoy various conveniences brought by the development of science and technology. People can enjoy comfortable life brought along with the development of science and technology through various types of mobile terminals. For example, mobile terminals such as smart phones and tablet computers have become an important part of people's lives, and users can listen to music, play games and the like by using the mobile terminals such as smart phones and tablet computers, so as to relieve pressure brought by modern fast-paced lives.
In general, a variety of applications may be installed on an electronic device, and when the applications are provided, information such as icons, program names, and tag information of the applications is usually displayed, and the tag information of the applications is often some fixed categories of information, for example: the last use time, installation time and the like of the application program are displayed, and the label information is information of a fixed category, so that the label information of the application program provided in the prior art can only reflect the situation of the application program on a single electronic device, and is not accurate enough.
Disclosure of Invention
In view of the above, the present invention is proposed in order to provide a tag providing method, an obtaining method, a server and an electronic device that overcome or at least partially solve the above problems.
In a first aspect of the present invention, a label providing method is provided, including:
respectively obtaining relevant data information of a first application program from M electronic devices, wherein M is a positive integer;
determining first label information of the first application program based on the related data information;
and providing the first label information to the first electronic equipment so that the first electronic equipment provides the first label information to a user in a mode of being associated with the first application program.
Optionally, the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device; and/or user behavior data corresponding to the operation of the user of each electronic device on the first application program.
Optionally, the program behavior data includes: whether there is behavior of binding other application programs, whether there is behavior of running traffic stealing, whether there is behavior of locking the homepage, whether there is behavior of popping up advertisements, whether there is behavior of program self-starting.
Optionally, if the related data information includes the program behavior data, the determining first tag information of the first application program based on the related data information includes:
for each program behavior, determining the total times of generating the corresponding program behavior by the first application program;
judging whether the total times are greater than the preset times of the corresponding program behaviors or not;
and if the number of times is larger than the preset number of times, acquiring the label information of the corresponding program behavior from the corresponding relation between the preset label information and the program behavior as the label information contained in the first label information.
Optionally, the user behavior data includes: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
Optionally, if the related data information includes the user behavior data, the determining, based on the related data information, first tag information of the first application program includes:
determining liveness information for use of the first application based on the user behavior data;
determining the first tag information based on liveness information.
Optionally, the activity information includes: at least one of average using times, average using frequency, and average time length of the last using time from the current time.
Optionally, if the first tag information includes N tags, where N is a positive integer not less than 2, the providing the first tag information to the first electronic device includes:
extracting N1 tags from the N tags based on the sorting priority of each tag in the N tags, wherein N1 is a positive integer not greater than N;
providing the N1 tags to the first electronic device.
Optionally, the method further includes:
receiving a setting operation of a user of the first electronic equipment, and determining the sequencing priority of each label based on the setting operation; and/or the presence of a gas in the gas,
determining the occurrence frequency of the related data information corresponding to each label in the M electronic devices; and determining the sorting priority based on the occurrence times and the weight values of the labels.
Optionally, the obtaining data information related to the first application from the at least one electronic device includes:
obtaining PE portable executable files of the first application program on the M electronic devices;
and acquiring the related data information from the executable file which is portable to the PE.
In a second aspect, an embodiment of the present invention provides a tag obtaining method, including:
acquiring first tag information of a first application program from a server, wherein the server determines the first tag information based on relevant data information of the first application program acquired from M pieces of electronic equipment, and M is a positive integer;
and providing the first label information to a user in a mode of being associated with the first application program.
Optionally, if the first tag information includes N tags, where N is a positive integer not less than 2, the providing the first tag information to the user in a manner associated with the first application includes:
extracting N1 tags from the N tags based on the sorting priority of each tag in the N tags, wherein N1 is a positive integer not greater than N;
the N1 tabs are provided to the user in association with the first application.
Optionally, the method further includes:
receiving a setting operation of a user of the first electronic equipment, and determining the sequencing priority of each label based on the setting operation; and/or the presence of a gas in the gas,
determining the occurrence frequency of the related data information corresponding to each tag in the related data information of the M pieces of electronic equipment; and determining the sorting priority based on the occurrence times and the weight values of the labels.
Optionally, the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device; and/or user behavior data corresponding to the operation of the user of each electronic device on the first application program.
Optionally, the program behavior data includes: whether there is behavior of binding other application programs, whether there is behavior of running traffic stealing, whether there is behavior of locking the homepage, whether there is behavior of popping up advertisements, whether there is behavior of program self-starting.
Optionally, the user behavior data includes: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
In a third aspect, an embodiment of the present invention provides a server, including:
the acquisition module is used for respectively acquiring related data information of the first application program from M pieces of electronic equipment, wherein M is a positive integer;
a first determining module, configured to determine first tag information of the first application program based on the related data information;
the first providing module is used for providing the first label information to first electronic equipment so as to enable the first electronic equipment to provide the first label information to a user in a mode of being associated with the first application program.
Optionally, the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device; and/or user behavior data corresponding to the operation of the user of each electronic device on the first application program.
Optionally, the program behavior data includes: whether there is behavior of binding other application programs, whether there is behavior of running traffic stealing, whether there is behavior of locking the homepage, whether there is behavior of popping up advertisements, whether there is behavior of program self-starting.
Optionally, if the related data information includes the program behavior data, the first determining module includes:
the first determining unit is used for determining the total times of generating the corresponding program behaviors of the first application program aiming at each program behavior;
the judging unit is used for judging whether the total times are greater than the preset times of the corresponding program behaviors;
and the first obtaining unit is used for obtaining the label information of the corresponding program behavior from the corresponding relation between the preset label information and the program behavior as the label information contained in the first label information if the number of times is larger than the preset number of times.
Optionally, the user behavior data includes: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
Optionally, if the relevant data information includes the user behavior data, the first determining module includes:
a second determining unit, configured to determine, based on the user behavior data, activity information for using the first application program;
a third determination unit configured to determine the first tag information based on the liveness information.
Optionally, the activity information includes: at least one of average using times, average using frequency, and average time length of the last using time from the current time.
Optionally, if the first tag information includes N tags, where N is a positive integer not less than 2, the first providing module includes:
a first extracting unit, configured to extract N1 tags from the N tags based on the sorting priority of each tag of the N tags, where N1 is a positive integer not greater than N;
a first providing unit, configured to provide the N1 tags to the first electronic device.
Optionally, the server further includes:
the first receiving module is used for receiving setting operation of a user of the first electronic equipment and determining the sequencing priority of each label based on the setting operation; and/or the presence of a gas in the gas,
the second determining module is used for determining the occurrence frequency of the related data information corresponding to each label in the M pieces of electronic equipment; and determining the sorting priority based on the occurrence times and the weight values of the labels.
Optionally, the obtaining module includes:
a second obtaining unit, configured to obtain a PE-portable executable file of the first application on the M electronic devices;
and the third acquisition unit is used for acquiring the related data information from the executable file which is portable to the PE.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring first tag information of a first application program from a server, the server determines the first tag information based on relevant data information of the first application program acquired from M pieces of electronic equipment, and M is a positive integer;
and the second providing module is used for providing the first label information to the user in a mode of being associated with the first application program.
Optionally, if the first tag information includes N tags, where N is a positive integer not less than 2, the second providing module includes:
a second extracting unit, configured to extract an N1 tag from the N tags based on the sorting priority of each of the N tags, where N1 is a positive integer not greater than N;
a second providing unit, configured to provide the N1 tags to a user in a manner associated with the first application.
Optionally, the electronic device further includes:
the second receiving module is used for receiving the setting operation of the user of the first electronic equipment and determining the sequencing priority of each label based on the setting operation; and/or the presence of a gas in the gas,
a third determining module, configured to determine the occurrence frequency of the relevant data information corresponding to each tag in the relevant data information of the M electronic devices; and determining the sorting priority based on the occurrence times and the weight values of the labels.
Optionally, the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device; and/or user behavior data corresponding to the operation of the user of each electronic device on the first application program.
Optionally, the program behavior data includes: whether there is behavior of binding other application programs, whether there is behavior of running traffic stealing, whether there is behavior of locking the homepage, whether there is behavior of popping up advertisements, whether there is behavior of program self-starting.
Optionally, the user behavior data includes: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages:
in the embodiment of the invention, the first tag information of the first application program is determined by the related data information of the first application program respectively obtained from the M pieces of electronic equipment, and then the first tag information is provided for the first electronic equipment, so that when the tag information of the first application program is provided by the first electronic equipment, the tag information of the related data information of the M pieces of electronic equipment is provided comprehensively, and the condition of the first application program on the M pieces of electronic equipment is not only considered, so that the technical effect that the provided tag information is more accurate is achieved, and the provided tag information is more flexible and can better meet the requirements of users.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 shows a flow diagram of a tag provisioning method according to one embodiment of the invention;
fig. 2 illustrates a flowchart of determining first tag information in a tag providing method according to an embodiment of the present invention;
fig. 3 shows a flow chart of determining a first cleaning strategy in a tag providing method according to an embodiment of the invention;
FIG. 4 shows a flow diagram of a tag provisioning method according to another embodiment of the invention;
FIG. 5 shows a block diagram of a server according to one embodiment of the invention;
FIG. 6 shows a block diagram of an electronic device according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The embodiment of the invention provides a label providing method, an obtaining method, a server and electronic equipment, and aims to solve the technical problem that label information provided by an application program is not accurate enough in the prior art.
The technical scheme in the embodiment of the application has the following general idea for solving the technical problems:
the first label information of the first application program is determined through the related data information of the first application program obtained from the M electronic devices respectively, and then the first label information is provided for the first electronic device, so that when the first electronic device provides the label information of the first application program, the label information of the related data information of the M electronic devices is provided comprehensively, the condition of the first application program on the M electronic devices is comprehensively considered, and the condition of the first application program on the current electronic device is not only considered, so that the technical effect that the provided label information is more accurate is achieved, the provided label information is more flexible, and the user requirements can be met more.
In a first aspect, an embodiment of the present invention provides a method for providing a tag, please refer to fig. 1, including:
step S101: respectively obtaining relevant data information of a first application program from M electronic devices, wherein M is a positive integer;
step S102: determining first label information of the first application program based on the related data information;
step S103: and providing the first label information to the first electronic equipment so that the first electronic equipment provides the first label information to a user in a mode of being associated with the first application program.
In step S101, the related data information may include a plurality of kinds of information, and two kinds of information are listed below for description, but of course, in the specific implementation process, the following two cases are not limited, and in addition, in the case of no conflict, the following two cases may be used in combination.
First, the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device.
For example, the program behavior data may include at least one of ① whether there is a behavior of binding other applications, for example, some applications may cause the electronic device to install some other applications during installation or use, in which case it is indicated that there is a behavior of binding other applications for the corresponding applications, and the installed applications may not be expected to be installed by the user and may occupy storage space of the electronic device, ② whether there is a traffic stealing behavior, for example, some applications may download some network data secretly during use, or the application may cause a traffic switch of the electronic device to enter an on state from an off state, which may cause consumption of a large amount of traffic of the electronic device.
Secondly, the related data information comprises: and user behavior data corresponding to the operation of the user of each electronic device on the first application program.
For example, the user behavior data includes at least one of ① time information of the first application installed by the user, such as an installation time, a time interval between the installation time and the current time, etc., such as 2016-5-13, for example, installed in 2016-5-13, two weeks ago, etc., ② time information of the first application used by the user, such as a total number of times the first application was used, a number of times the first application was used within a predetermined period of time (e.g., 1 month, half month, etc.), etc., ③ frequency information of the first application used by the user, such as an average number of times per week, an average number of times per day, etc., ④ time information of the first application used by the user, such as a time of the last use of the first application, a time interval between the last use of the first application and the current time, a time of each use of the first application, etc.
In a specific implementation process, each electronic device may respectively acquire and directly send relevant data information required for determining the first tag information to the server, or each electronic device may search a PE (Portable Executable) file of the first application program on the electronic device, generate a log file based on the PE file, and send the log file to the server, where the server extracts the relevant data information for determining the first tag information from the log file.
For example, the PE file of the first application may be searched through the positions of the registry Uninstall entry or the boot entry, etc.; or searching for the PE file of the first application through a desktop shortcut, a common entry such as a menu shortcut, a scheduling task, a service item, and the like, and of course, the PE file may also be obtained through other manners.
PE files are typically program files on an operating system, such as: an EXE (executable program) file, a DLL (Dynamic Link Library) file, an OCX (Object Linking and embedding: Object class expansion Component) file, a SYS (System: System) file, a COM (Component Object model) file, and the like.
The PE file may include one or more of the following information: message digest information (e.g., MD5 information), icon information, signature information, file size, creation time, access time, modification time, version number, whether another application is bundled, whether rogue behavior exists (e.g., locking home page, pop-up ads, running over traffic, program self-launch, etc.).
In step S102, the manner of determining the first tag information is different based on different related data information, and two of them are listed below for description, but of course, in the specific implementation process, the method is not limited to the following two cases.
First, if the related data information includes the program behavior data, the determining first tag information of the first application program based on the related data information, referring to fig. 2, includes:
step S201: for each program behavior, determining the total times of generating the corresponding program behavior by the first application program;
step S202: judging whether the total times are greater than the preset times of the corresponding program behaviors or not;
step S203: and if the number of times is larger than the preset number of times, acquiring the label information of the corresponding program behavior from the corresponding relation between the preset label information and the program behavior as the label information contained in the first label information.
In step S201, for a certain program behavior (e.g., behavior of binding other application programs, behavior of stealing and running, behavior of locking a homepage, behavior of popping up an advertisement, behavior of self-launching a program, etc.), the first application program may or may not generate the program behavior on a certain electronic device, so that whether the first application program generates a corresponding program behavior on each electronic device may be counted one by one, and then the total number of times that the first electronic device generates a corresponding program behavior is obtained, for example, if 5 electronic devices are included, various program behaviors generated by the first application program on the 5 electronic devices are as shown in table 1:
TABLE 1
Figure BDA0001037804760000111
Figure BDA0001037804760000121
Then it can be determined that the times of the first application program generating various program behaviors are respectively: binding other application programs 5 times, running the flow 1 time, locking the main page 2 times, popping up the advertisement 3 times, and starting the program 0 times.
In step S202, a same preset number of times may be set for all the applications, for example: 2 times, 3 times, etc. Different preset times can be set for different applications, for example: the preset times are set to 3 for binding other applications, 1 for running steal flow, 2 for locking a homepage, 2 for pop-up advertisements, 4 for program self-start, and so on.
In step S203, the correspondence between the tag information and the program behavior is shown in table 2, for example:
TABLE 2
If the preset number of times for each application program in step S102 is 2, it may be determined that the program behaviors in which the total number of times that the first application program generates the corresponding program behaviors is greater than the preset number of times include: binding other application programs and popping up advertisements, and searching and obtaining corresponding label information in the table 2 based on the two program behaviors: binding plug-ins, advertising. Of course, the correspondence shown in table 2 is only an example, and other correspondences are also possible, and the embodiment of the present invention is not limited. Based on the difference between the correspondence relationships in table 2 and the difference between the program behavior data of the first application program, the determined tag information is also different, and the embodiment of the present invention is not limited.
Secondly, if the related data information includes the user behavior data, the determining the first tag information of the first application program based on the related data information includes: determining liveness information for use of the first application based on the user behavior data; determining the first tag information based on liveness information.
For example, the activity information may include at least one of ① average number of usage times, which may be obtained by first obtaining the number of usage times of the first application on each electronic device, and then dividing the number of usage times by the number of electronic devices after adding the number of usage times, ② average frequency of usage, which may be obtained by first obtaining the frequency of usage of the first application on each electronic device, and then dividing the frequency of usage on each electronic device after adding the frequency of usage by the number of electronic devices, ② average duration of the last time of usage from the current time, and similarly, by first obtaining the duration of the last time of usage of the first application on each electronic device from the current time, and then adding the duration and then dividing the sum by the number of electronic devices, which may be obtained by averaging the duration.
After obtaining the activity information, the activity information may be directly used as the first tag information, or an activity level may be determined based on the activity information, and then the activity level is used as the first tag information, where the activity level includes, for example: very active, ordinary active, inactive, taking the activity information as the average number of times of use as an example, it may be determined whether the average number of times of use is greater than a first preset number of times or less than a second preset number of times, if greater than the first preset number of times, it indicates very active, if less than the second preset number of times, it indicates inactive, if between the first preset number of times and the second preset number of times, it indicates ordinary active, and for other activity information, the manner of determining the activity degree is similar, and will not be described herein again.
In step S103, since the determined tags for different pieces of related data information are also different, in step S102, at least one tag may be determined for the first application (that is, the first tag information includes at least one tag), and in step S103, the server may provide all tags included in the obtained first tag information to the first electronic device, or may provide part of tags in the obtained first tag information to the first electronic device, for example, if the first tag information includes N tags, where N is a positive integer not less than 2, the providing of the first tag information to the first electronic device includes: extracting N1 tags from the N tags based on the sorting priority of each tag in the N tags, wherein N1 is a positive integer not greater than N; providing the N1 tags to the first electronic device.
For example, the sorting priority of each tag may be determined in a number of ways, such as:
①, receiving the setting operation of the user of the first electronic device, determining the priority of each label based on the setting operation, for example, if the user of some electronic device may pay more attention to whether the application program binds other application programs, the priority of the label corresponding to the behavior of binding other application programs may be set higher, if the user of some electronic device may pay more attention to whether the application program will steal the traffic, the priority of the label corresponding to the behavior of stealing the traffic may be set higher, and the like, based on the scheme, based on different user requirements of the electronic device, different priority orderings are set, so that the user requirements can be satisfied better.
②, determining the occurrence frequency of the related data information corresponding to each label in M pieces of electronic equipment, and determining the sorting priority based on the occurrence frequency and the weight value of each label.
For example, taking the relevant data information corresponding to the tag as program behavior data as an example, if the tag is a binding plug-in, the relevant data information corresponding to the tag is: if the behavior of binding other application programs exists, determining the number of electronic devices on which the behavior of binding other application programs exists by the first application program, and taking the number of the electronic devices as the number of times of occurrence; if the tag is traffic stealing, it may be determined that the first application has traffic stealing behavior on a plurality of electronic devices, the number of electronic devices as their number of occurrences, and so on. For other tags corresponding to program behavior data, the determination manner of the occurrence times is similar to that of the tags, and details are not repeated.
Taking the relevant data information corresponding to the tag as the user behavior data as an example, if the tag is very active and the corresponding activity information is the average number of times of use, the number of electronic devices whose average number of times of use is greater than the first preset number of times of use can be determined as the number of times of occurrence of the tag, and for the other two types of activity information, the determination manner of the number of times of occurrence is similar to that of the tag, which is not described herein again.
The weight value of each tag may be set by the system, or may be set manually by the user, which is not limited in the embodiments of the present invention.
After obtaining the appearance times and the weight values of the relevant data information corresponding to the labels in the M electronic devices, obtaining the score values of the labels by multiplying the appearance times by the weight values, and then arranging the score values in a high-to-low order, thereby obtaining the labels with the ranking of the top several digits (for example: 2, 3, etc.) as M1 labels provided for the first electronic device; alternatively, tags having a score value greater than a preset score value (e.g., 10, 20, etc.) are obtained as the M1 tags provided to the first electronic device, and so on. In addition, in a specific implementation process, the first tag information may be provided to other electronic devices besides the first electronic device, and the embodiment of the present invention is not limited.
In step S103, after the first electronic device obtains the first tag information, the tag included in the first tag information may be displayed at a default tag display position of the first electronic device, so that the first tag information is provided to the user by covering the default tag; the first tag information may also be displayed based on a preset operation of a user, which is not limited in the embodiment of the present invention.
As an alternative embodiment, please refer to fig. 3, the method further includes:
step S301: acquiring an installation position of a first application program on electronic equipment;
step S302: determining a first cleaning strategy for cleaning the first application program on the electronic equipment through the installation position;
step S303: sending the first cleaning strategy to the electronic equipment, so that the electronic equipment cleans the first application program based on the first cleaning strategy and a default cleaning strategy of the first application program.
In the scheme, the first application program is not cleaned only through the default cleaning strategy of the first application program, but a plurality of cleaning strategies are provided for selection, so that the technical effect of more accurate control on the cleaning strategies is achieved.
In step S301, the first electronic device may obtain an installation location of the first application on the first electronic device by: searching a PE file of the first application program on the first electronic device; and taking the position of the PE file as the installation position of the first application program. For the manner of searching for the PE file, the description is omitted herein since the description is given above.
After determining the installation position of the first application program, the first electronic device may directly send the installation position information of the first application program to the server; the first electronic device may also generate a log file from the installation location of the first application and the PE file, and then send the log file to the server, and the server extracts the installation location information of the first application from the log file after receiving the log file.
In step S302, the server may pre-store a cleaning policy set for cleaning each application, where the cleaning policy set may be a database or a corresponding relationship list, and the cleaning policy set includes at least one application and a cleaning policy corresponding to the application, and the cleaning policy corresponding to the application may be found in the cleaning policy set by a program name or other parameters (e.g., an icon number, a version number, etc.) of each application and an installation location of the application.
Or, all the cleaning policies included in the corresponding application program may be first searched and obtained in the cleaning policy set by the program name or other parameters (e.g., icon number, version number, etc.) of each application program, and then the cleaning policy of the corresponding application program may be searched and obtained in all the cleaning policies of the application program by the installation location of the application program.
As an alternative embodiment, the server may determine the first cleaning policy corresponding to the first application program by: determining the identification information of the first application program through a PE portable executable file of the first application program; and searching in a cleaning strategy set through the identification information and the installation position to obtain the first cleaning strategy.
For example, when some application programs may be installed in different electronic devices, program names or other parameters (e.g., icon numbers, version numbers, etc.) of the application programs may change, so that the corresponding cleaning policies may not be accurately found in the cleaning policy library, and therefore, the identification information of the first application program (which is used for uniquely identifying the first application program) may be first accurately determined by the PE file of the first application program, and then the corresponding first cleaning policies may be found in the cleaning policy set by the identification information and the installation location. The cleaning strategy set can be matched with the installation position through the identification information, and then the cleaning strategy with the identification information and the installation position matched is obtained and used as a first cleaning strategy corresponding to the first application program; or searching in the cleaning policy set through the identification information to obtain all the cleaning policies corresponding to the identification information, and then searching in all the cleaning policies corresponding to the identification information through the installation position to obtain the first cleaning policy corresponding to the installation position.
The identification information of the first application program can be determined through information such as a program name, icon information, signature information, file size and the like of the first application program, for example, if the icon information of some application programs does not change, an icon identification library corresponding to the icon information can be set; if the signature information of some application programs does not change, a signature identification library and the like corresponding to the signature information can be set, if the program name and the file size of some application programs can uniquely represent the application programs, an identification library and the like corresponding to the program name and the file size can be set, and then the identification libraries are searched through various parameters of the first application program, for example: searching in an icon identification library through the icon information of the first application program, and if the corresponding identification information is searched, taking the searched identification information as the identification information of the first application program and stopping searching continuously; if the corresponding identification information cannot be found, the signature information of the first application program continues to be found in the signature identification library until the identification information position of the first application program is found.
In the above scheme, the first application program can be uniquely identified through the identification information of the first application program, so that the first cleaning strategy corresponding to the first application program can be found more accurately.
In a specific implementation process, based on the difference between the installation position in the cleaning policy set and the corresponding relationship between the cleaning policies, the manner of finding and obtaining the first cleaning policy is also different, and two of them are listed below for introduction, which is, of course, not limited to the following two cases in the specific implementation process.
First, the finding of the first cleaning policy from the set of cleaning policies based on the installation location includes: judging whether the installation position is located at a preset installation position; if the installation position is located at the preset installation position, the determined first cleaning strategy is a cleaning strategy for cleaning the first type of files; and if the installation position is not located at the preset installation position, the determined first cleaning strategy is a cleaning strategy for cleaning a second type of file, and the first type of file and the second type of file are not identical.
The predetermined mounting positions include, for example: critical installation locations of the system, for example: system root directory, Program Files (x86) root directory, and the like. Files installed under these directories often cause system files to be deleted and a system to malfunction if the cleaning policy is not appropriate, so to prevent this, a different first cleaning policy may be adopted for whether the first application is installed at a predetermined installation location.
When cleaning is performed on an application, the cleaning policy includes, for example: delete designated folders, delete designated files, delete registries, delete drivers, delete service items, delete input methods, and the like. Further, in the specific implementation process, the first type of file includes, for example: individual files, folders, registries, drivers, service items, input methods, and the like; the second class of files includes, for example: drivers, service items, input methods, etc., wherein the first type of file is different from the second type of file by at least a portion of the files, such as: different files contained, different folders contained, and so on.
For example, if the application is installed in its own directory (i.e., not installed in a predetermined installation location) at the time of installation, for example: if the browser a is installed in the% ProgramFiles% \ browser a \ directory, which belongs to a normally installed application program, it may be determined that the second type of file includes: files and folders in the browser A directory and subdirectories thereof, and registry entries and shortcuts pointing to the installation position, so that the files, the folders and the like in the browser A directory and subdirectories thereof can be completely deleted when the first application program is cleaned through the first cleaning strategy, and then the registry entries, the shortcuts and the like pointing to the installation position are deleted.
And if the application is installed in a predetermined installation location, for example: if the browser A is installed in a disk root directory (such as C: \), a private directory belonging to the browser A is not generated, all files are placed under the C disk directory, so that the files cannot be deleted according to the installation position, otherwise, system folders and other programs are deleted, and the files of the system and other programs are lost, wherein the first type of files corresponding to the first cleaning strategy at this time comprise: the files and subfolders of the application program can specify each specific file in the first cleaning strategy to prevent mistaken deletion, and then delete the corresponding registry, shortcuts and the like.
Secondly, the searching and obtaining the first cleaning strategy from the cleaning strategy set based on the installation position comprises: determining the corresponding relation between the installation position of the first application program and a cleaning strategy; and searching and obtaining a corresponding first cleaning strategy in the corresponding relation through the currently obtained installation position of the first application program.
For example, the storage space of the electronic device may be divided into a plurality of regions, such as: a system disk ProgramFiles root directory, a system disk non-ProgramFiles root directory, a non-system disk, etc., and then different cleaning policies may be set for each region, as shown in table 3:
TABLE 3
Figure BDA0001037804760000181
Figure BDA0001037804760000191
After the installation position of the first application program on the electronic device is determined, the installation position can be determined to belong to the installation area, and then the corresponding first cleaning strategy is obtained through the search of the installation area.
In step S303, the first electronic device may use the first cleaning policy and the default cleaning policy to clean the first application program, for example: the method comprises the steps of cleaning a first application program through a first cleaning strategy, cleaning the first application program through a default cleaning strategy, or cleaning the first application program through the default cleaning strategy, and the like; the first electronic device may also choose to clean the first application from a first cleaning policy and a default cleaning policy, for example: the server can also send the cleaning priority corresponding to the first cleaning strategy to the first electronic device, so that the first electronic device selects one of the first cleaning strategy and the default cleaning strategy to clean the first application program based on the cleaning priority and the cleaning priority of the default cleaning strategy.
In the specific implementation process, the cleaning priority of the default cleaning policy may be set to a fixed value (e.g., 1, 2, etc.), and the cleaning priority of the first cleaning policy determined based on the installation location is in an adjustable state. For example, the server may determine the cleaning priority based on cleaning result report information for cleaning the first application on each electronic device by the first cleaning policy.
In the specific implementation process, the cleaning result report information may include a plurality of kinds of information, and two kinds of information are listed below for description, but of course, in the specific implementation process, the following two cases are not limited, and in addition, in the case of no conflict, the following two cases may be used in combination.
First, the cleaning result report information includes: and deleting the information by mistake.
In a specific implementation process, a plurality of electronic devices for experiments may be determined at first, a first application program is installed on the electronic devices, a server may allocate a first cleaning policy to the electronic devices, then the electronic devices clean the first application program through the first cleaning policy, after the cleaning is finished, whether a false deletion condition exists when the first application program is cleaned is determined by a professional, if the false deletion condition exists, the false deletion condition is reported to the server, and the server determines false deletion information based on the false deletion condition, where the false deletion information includes, for example: at least one of the mistakenly deleted probability information and the mistakenly deleted file type information, wherein the mistakenly deleted probability information can be obtained by dividing the number of the electronic devices which are mistakenly deleted by the total number of the electronic devices; the types of files deleted by mistake include: the system files, the non-system files and the like can determine the severity of the mistaken deletion through the mistakenly deleted file types, if the mistakenly deleted file types comprise the system files, the severity of the mistaken deletion can be determined to be high, and if the system files are not contained, the severity of the mistaken deletion is low, and the like.
Second, the cleaning result report information includes: and (5) deleting information.
For example, the puncturing information includes: and at least one of the probability information of missed deletion, the number of missed deletion files and the number of electronic equipment with missed deletion. The probability information of missed deletion includes: the proportion information of the electronic devices with the missed deletion, the proportion information of the files with the missed deletion and the like can be obtained by dividing the number of the electronic devices with the missed deletion by the total number of the electronic devices, and the proportion information of the files with the missed deletion can be obtained by dividing the number of the files with the missed deletion by the total number of the files (for example, the sum of the number of the deleted files and the number of the files with the missed deletion).
As an alternative embodiment, the server may obtain the cleaning priority corresponding to the first cleaning policy by: obtaining a preset priority of the first cleaning strategy; adjusting the preset priority based on the cleaning result report information, thereby obtaining the cleaning priority of the first cleaning strategy.
For example, a default preset priority (e.g., 2, 1.5, etc.) may be set for the first cleaning policy determined based on the installation location, and then the preset priority may be adjusted based on the cleaning result report information, so as to obtain the cleaning priority of the first cleaning policy.
For example, if there is no mis-deletion information, it may be kept unchanged when the preset priority is adjusted based on the mis-deletion information; if there is mistaken deletion information, it can be adjusted according to the probability information or file type information of the mistaken deletion, for example: if the probability of the false deletion is higher, the corresponding cleaning priority is reduced to a larger extent, and if the probability of the false deletion is lower, the corresponding cleaning priority is reduced to a smaller extent; if the mistakenly deleted file contains the system file, the corresponding cleaning priority is greatly reduced, and if the mistakenly deleted file does not contain the system file, the corresponding cleaning priority is reduced in a smaller range, and the like.
The adjustment of the cleaning priority based on the missed erasure information is similar to the adjustment thereof based on the missed erasure information. For example: if the probability information of the missed deletion is 0%, the cleaning priority is not changed; if the probability information of 0% < missed deletion is less than or equal to 10%, the preset priority may be decreased by a gradient (e.g., by 0.5); if 10% < clean-all-round ≦ 20%, the preset priority may be decreased by two gradients (e.g., by 2 x 0.5), and so on.
After obtaining the first cleaning policy and the cleaning priority thereof, the first electronic device may compare the cleaning priority of the first cleaning policy with the cleaning priority of the default cleaning policy; if the cleaning priority of the first cleaning strategy is higher than that of the default cleaning strategy, cleaning the first application program by adopting the first cleaning strategy; and if not, cleaning the first application program by adopting a default cleaning strategy.
If the first application program is cleaned through the first cleaning strategy, cleaning the first application program on the electronic equipment can be realized through the following steps: determining a set of files to be cleaned when the first application program is cleaned based on a snapshot of files generated when the first application program is installed on the electronic equipment; and cleaning the file type corresponding to the first cleaning strategy in the file set to be cleaned.
For example, in a general situation, when a first application is installed, a corresponding snapshot may be generated by a tool of the electronic device, where the snapshot includes files that are generated when the first application is installed and locations of the files, and the generated files may be directly extracted from the snapshot, and the generated files form a set of files to be cleaned, where the corresponding files to be cleaned may be obtained by the snapshot after the first application is installed, or the corresponding files to be cleaned may be obtained based on the snapshot when the first application is cleaned. For example, installing 360 a secure browser would produce the following files:
%AppData%\360se6\
% Desktop% \360 secure browser-lnk
HKEY_CURRENT_USER\Software\360\360se6
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\360se6
And the like.
After the file to be cleaned is obtained, the first application program can be cleaned through the first cleaning strategy.
For the above 360 security browser, we can determine that the following content needs to be deleted based on its snapshot and the first cleaning policy:
delete folder% AppData \\ 360se6\
And (4) deleting the file: % Desktop% \360 secure browser-lnk
Deleting the registry:
HKEY_CURRENT_USER\Software\360\360se6
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\360se6
and the like.
As an alternative embodiment, after the first application is cleaned based on the first cleaning policy, a reverse checking mechanism may be further added, and reverse checking is performed according to the deleted files and folders at some commonly used positions on the first electronic device. For example: and performing reverse check on desktop shortcuts, starting menu shortcuts, service items in a registry, startup starting items, CLSID, AppPath, Uninstall items and the like on the first electronic equipment, and if the positions of the PE files pointed by the positions are files or folders to be deleted, deleting the shortcuts and the registry items at the positions, and providing a clean system for the user.
And if the cleaning priority of the first cleaning strategy is not higher than that of the default cleaning strategy, the first application program can be cleaned through the default cleaning strategy. The default cleaning policy refers to a cleaning rule generated for an application at an early stage (for example, a cleaning rule generated when the application is installed), and a local library rule generated according to files generated when the application is installed and used and deleted corresponding to files, folders, registries, service items and the like. Each corresponding to a respective library. Each piece of software has a unique software ID, and each software ID corresponds to a unique cleaning rule. I.e. one software corresponds to one cleaning rule that is unique locally. The method is generally not much different from the method of installing software under a normal path, only the method of writing rules is complex, all files and subfolders and registry entries are included, and in general, a default cleaning strategy has no reverse checking mechanism.
In addition, in the implementation process, the server may further generate prompt information for cleaning the first application program based on the PE file, for example, whether the first application program has rogue behaviors (e.g., binding software, self-launching of software, popping up advertisements, running traffic, etc.) may be determined by the PE file, and if the rogue behaviors exist, prompt information suggesting cleaning of the first application program may be generated, for example, "the first application program has adverse effect on the device, suggests immediate uninstallation"; still alternatively, whether to clean the first application program may be determined by a user according to a condition of the first application program, for example: it may be determined whether the time of last use of the first application by the user is greater than a preset time value (e.g., half a month, 1 month, etc.) from the current time, if so, a prompt message suggesting deletion of the first application is generated, the prompt message is, for example, "the user does not use the application for a long time, and proposes to delete", and, for example, determines whether the number of uses of the first application by the user is less than a preset number (e.g., 3, 5, etc.), if so, generates a prompt message that proposes to clear the first application, the prompt message is, for example, "the user rarely uses the application, suggests cleaning the application", etc., and, of course, the prompt message may also be other prompt messages, and may also be generated based on other principles, and embodiments of the present invention are not illustrated in detail and are not limited.
In a second aspect, based on the same inventive concept, an embodiment of the present invention provides a tag obtaining method, please refer to fig. 4, including:
step S401: acquiring first tag information of a first application program from a server, wherein the server determines the first tag information based on relevant data information of the first application program acquired from M pieces of electronic equipment, and M is a positive integer;
step S402: and providing the first label information to a user in a mode of being associated with the first application program.
Optionally, if the first tag information includes N tags, where N is a positive integer not less than 2, the providing the first tag information to the user in a manner associated with the first application includes: extracting N1 tags from the N tags based on the sorting priority of each tag in the N tags, wherein N1 is a positive integer not greater than N; the N1 tabs are provided to the user in association with the first application.
Optionally, the method further includes: receiving a setting operation of a user of the first electronic equipment, and determining the sequencing priority of each label based on the setting operation; and/or determining the occurrence frequency of the related data information corresponding to each tag in the related data information of the M pieces of electronic equipment; and determining the sorting priority based on the occurrence times and the weight values of the labels.
Optionally, the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device; and/or user behavior data corresponding to the operation of the user of each electronic device on the first application program.
Optionally, the program behavior data includes: whether there is behavior of binding other application programs, whether there is behavior of running traffic stealing, whether there is behavior of locking the homepage, whether there is behavior of popping up advertisements, whether there is behavior of program self-starting.
Optionally, the user behavior data includes: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
Optionally, the method further includes: acquiring a first cleaning strategy for cleaning a first application program from a server, wherein the first cleaning strategy is determined based on the installation position of the first application program on an electronic device; judging whether the cleaning priority of the first cleaning strategy is higher than that of a default cleaning strategy or not; if so, cleaning the first application program through the first cleaning strategy; and if not, cleaning the first application program through the default cleaning strategy.
Optionally, the method further includes: the cleaning priority of the first cleaning strategy sent by the server is obtained, wherein the cleaning priority is determined by the server based on cleaning result report information for cleaning the first application program on each electronic device through the first cleaning strategy.
Optionally, the cleaning result report information includes: and deleting the information by mistake and/or deleting the information by omission.
Optionally, the mistaken deletion information includes: at least one of probability information of false deletion and file type information of false deletion; the deletion omission information includes: and at least one of the probability information of missed deletion, the number of missed deletion files and the number of electronic equipment with missed deletion.
Optionally, before the obtaining the first cleaning policy for the first application from the server, the method further includes: and sending the installation position information of the first application program to the server.
Optionally, the method further includes: detecting a PE-portable executable file of the first application on the electronic device; and determining the position of the PE portable executable file as the installation position.
Optionally, the cleaning the first application program through the first cleaning policy includes: determining a set of files to be cleaned for cleaning the first application program based on a snapshot of files generated when the first application program is installed on the electronic device; and cleaning the file set to be cleaned based on the first cleaning strategy.
In a third aspect, based on the same inventive concept, an embodiment of the present invention provides a server, please refer to fig. 5, including:
an obtaining module 50, configured to obtain, from M electronic devices, relevant data information of a first application program, where M is a positive integer;
a first determining module 51, configured to determine first tag information of the first application program based on the related data information;
a first providing module 52, configured to provide the first tag information to a first electronic device, so that the first electronic device provides the first tag information to a user in a manner associated with the first application.
Optionally, the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device; and/or user behavior data corresponding to the operation of the user of each electronic device on the first application program.
Optionally, the program behavior data includes: whether there is behavior of binding other application programs, whether there is behavior of running traffic stealing, whether there is behavior of locking the homepage, whether there is behavior of popping up advertisements, whether there is behavior of program self-starting.
Optionally, if the related data information includes the program behavior data, the first determining module 51 includes: the first determining unit is used for determining the total times of generating the corresponding program behaviors of the first application program aiming at each program behavior; the judging unit is used for judging whether the total times are greater than the preset times of the corresponding program behaviors; and the first obtaining unit is used for obtaining the label information of the corresponding program behavior from the corresponding relation between the preset label information and the program behavior as the label information contained in the first label information if the number of times is larger than the preset number of times.
Optionally, the user behavior data includes: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
Optionally, if the relevant data information includes the user behavior data, the first determining module 51 includes: a second determining unit, configured to determine, based on the user behavior data, activity information for using the first application program; a third determination unit configured to determine the first tag information based on the liveness information.
Optionally, the activity information includes: at least one of average using times, average using frequency, and average time length of the last using time from the current time.
Optionally, if the first tag information includes N tags, where N is a positive integer not less than 2, the first providing module 52 includes: a first extracting unit, configured to extract N1 tags from the N tags based on the sorting priority of each tag of the N tags, where N1 is a positive integer not greater than N; a first providing unit, configured to provide the N1 tags to the first electronic device.
Optionally, the server further includes: the first receiving module is used for receiving setting operation of a user of the first electronic equipment and determining the sequencing priority of each label based on the setting operation; and/or the second determining module is used for determining the occurrence frequency of the related data information corresponding to each label in the M pieces of electronic equipment; and determining the sorting priority based on the occurrence times and the weight values of the labels.
Optionally, the obtaining module 50 includes: a second obtaining unit, configured to obtain a PE-portable executable file of the first application on the M electronic devices; and the third acquisition unit is used for acquiring the related data information from the executable file which is portable to the PE.
Since the server described in the third aspect of the embodiment of the present invention is a server used for implementing the tag providing method described in the first aspect of the embodiment of the present invention, based on the tag providing method described in the first aspect of the embodiment of the present invention, a person skilled in the art can understand a specific structural variation of the server described in the third aspect of the embodiment of the present invention, and therefore details are not described here, and all servers used for implementing the tag providing method described in the first aspect of the embodiment of the present invention belong to the scope to be protected by the embodiment of the present invention.
In a fourth aspect, based on the same inventive concept, an embodiment of the present invention provides an electronic device, please refer to fig. 6, including:
an obtaining module 60, configured to obtain first tag information of a first application from a server, where the server determines the first tag information based on data information of the first application obtained from M electronic devices, where M is a positive integer;
a second providing module 61, configured to provide the first tag information to the user in a manner associated with the first application.
Optionally, if the first tag information includes N tags, where N is a positive integer not less than 2, the second providing module 61 includes: a second extracting unit, configured to extract an N1 tag from the N tags based on the sorting priority of each of the N tags, where N1 is a positive integer not greater than N; a second providing unit, configured to provide the N1 tags to a user in a manner associated with the first application.
Optionally, the electronic device further includes: the second receiving module is used for receiving the setting operation of the user of the first electronic equipment and determining the sequencing priority of each label based on the setting operation; and/or a third determining module, configured to determine the number of occurrences of the relevant data information corresponding to each tag in the relevant data information of the M electronic devices; and determining the sorting priority based on the occurrence times and the weight values of the labels.
Optionally, the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device; and/or user behavior data corresponding to the operation of the user of each electronic device on the first application program.
Optionally, the program behavior data includes: whether there is behavior of binding other application programs, whether there is behavior of running traffic stealing, whether there is behavior of locking the homepage, whether there is behavior of popping up advertisements, whether there is behavior of program self-starting.
Optionally, the user behavior data includes: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
Since the electronic device described in the fourth aspect of the embodiment of the present invention is an electronic device used for implementing the tag obtaining method described in the first aspect of the embodiment of the present invention, based on the tag obtaining method described in the first aspect of the embodiment of the present invention, a person skilled in the art can understand a specific structural variation of the electronic device described in the fourth aspect of the embodiment of the present invention, and therefore details are not described here, and all electronic devices used for implementing the tag obtaining method described in the first aspect of the embodiment of the present invention belong to the scope to be protected by the embodiment of the present invention.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages:
in the embodiment of the invention, the first tag information of the first application program is determined by the related data information of the first application program respectively obtained from the M pieces of electronic equipment, and then the first tag information is provided for the first electronic equipment, so that when the tag information of the first application program is provided by the first electronic equipment, the tag information of the related data information of the M pieces of electronic equipment is provided comprehensively, and the condition of the first application program on the M pieces of electronic equipment is not only considered, so that the technical effect that the provided tag information is more accurate is achieved, and the provided tag information is more flexible and can better meet the requirements of users.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components of a gateway, proxy server, system according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words/' first, second, third, etc. does not indicate any order. These words may be interpreted as names.
The invention discloses a1, a label providing method, comprising:
respectively obtaining relevant data information of a first application program from M electronic devices, wherein M is a positive integer;
determining first label information of the first application program based on the related data information;
and providing the first label information to the first electronic equipment so that the first electronic equipment provides the first label information to a user in a mode of being associated with the first application program.
A2, the method of A1, wherein the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device; and/or user behavior data corresponding to the operation of the user of each electronic device on the first application program.
A3, the method as in A2, wherein the program behavior data comprises: whether there is behavior of binding other application programs, whether there is behavior of running traffic stealing, whether there is behavior of locking the homepage, whether there is behavior of popping up advertisements, whether there is behavior of program self-starting.
A4, the method as recited in A3, wherein if the related data information includes the program behavior data, the determining first tag information of the first application based on the related data information comprises:
for each program behavior, determining the total times of generating the corresponding program behavior by the first application program;
judging whether the total times are greater than the preset times of the corresponding program behaviors or not;
and if the number of times is larger than the preset number of times, acquiring the label information of the corresponding program behavior from the corresponding relation between the preset label information and the program behavior as the label information contained in the first label information.
A5, the method as claimed in A2, wherein the user behavior data includes: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
A6, the method as claimed in a4, wherein if the relevant data information includes the user behavior data, the determining first tag information of the first application based on the relevant data information includes:
determining liveness information for use of the first application based on the user behavior data;
determining the first tag information based on liveness information.
A7, the method of A6, wherein the activity information includes: at least one of average using times, average using frequency, and average time length of the last using time from the current time.
A8, the method according to any one of a1-a7, wherein if N tags are included in the first tag information, N being a positive integer not less than 2, the providing the first tag information to the first electronic device includes:
extracting N1 tags from the N tags based on the sorting priority of each tag in the N tags, wherein N1 is a positive integer not greater than N;
providing the N1 tags to the first electronic device.
A9, the method of A8, wherein the method further comprises:
receiving a setting operation of a user of the first electronic equipment, and determining the sequencing priority of each label based on the setting operation; and/or the presence of a gas in the gas,
determining the occurrence frequency of the related data information corresponding to each label in the M electronic devices; and determining the sorting priority based on the occurrence times and the weight values of the labels.
A10, the method according to any one of a1-a7, wherein the obtaining data information related to a first application from at least one electronic device comprises:
obtaining PE portable executable files of the first application program on the M electronic devices;
and acquiring the related data information from the executable file which is portable to the PE.
B11, a method for acquiring a tag, comprising:
acquiring first tag information of a first application program from a server, wherein the server determines the first tag information based on relevant data information of the first application program acquired from M pieces of electronic equipment, and M is a positive integer;
and providing the first label information to a user in a mode of being associated with the first application program.
B12, the method according to B11, wherein if N tags are included in the first tag information, N being a positive integer not less than 2, the providing the first tag information to a user in association with the first application comprises:
extracting N1 tags from the N tags based on the sorting priority of each tag in the N tags, wherein N1 is a positive integer not greater than N;
the N1 tabs are provided to the user in association with the first application.
B13, the method according to B12, wherein the method further comprises:
receiving a setting operation of a user of the first electronic equipment, and determining the sequencing priority of each label based on the setting operation; and/or the presence of a gas in the gas,
determining the occurrence frequency of the related data information corresponding to each tag in the related data information of the M pieces of electronic equipment; and determining the sorting priority based on the occurrence times and the weight values of the labels.
B14, the method according to any of B11-B13, wherein the related data information comprises: program behavior data corresponding to behaviors of the first application program on each electronic device; and/or user behavior data corresponding to the operation of the user of each electronic device on the first application program.
B15, the method according to B14, wherein the program behavior data includes: whether there is behavior of binding other application programs, whether there is behavior of running traffic stealing, whether there is behavior of locking the homepage, whether there is behavior of popping up advertisements, whether there is behavior of program self-starting.
B16, the method according to B14, wherein the user behavior data includes: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
C17, a server, comprising:
the acquisition module is used for respectively acquiring related data information of the first application program from M pieces of electronic equipment, wherein M is a positive integer;
a first determining module, configured to determine first tag information of the first application program based on the related data information;
the first providing module is used for providing the first label information to first electronic equipment so as to enable the first electronic equipment to provide the first label information to a user in a mode of being associated with the first application program.
C18, the server according to C17, wherein the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device; and/or user behavior data corresponding to the operation of the user of each electronic device on the first application program.
C19, the server according to C18, wherein the program behavior data comprises: whether there is behavior of binding other application programs, whether there is behavior of running traffic stealing, whether there is behavior of locking the homepage, whether there is behavior of popping up advertisements, whether there is behavior of program self-starting.
C20, the server according to C19, wherein if the related data information includes the program behavior data, the first determining module comprises:
the first determining unit is used for determining the total times of generating the corresponding program behaviors of the first application program aiming at each program behavior;
the judging unit is used for judging whether the total times are greater than the preset times of the corresponding program behaviors;
and the first obtaining unit is used for obtaining the label information of the corresponding program behavior from the corresponding relation between the preset label information and the program behavior as the label information contained in the first label information if the number of times is larger than the preset number of times.
C21, the server according to C18, wherein the user behavior data comprises: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
C22, the server according to C20, wherein if the related data information includes the user behavior data, the first determining module comprises:
a second determining unit, configured to determine, based on the user behavior data, activity information for using the first application program;
a third determination unit configured to determine the first tag information based on the liveness information.
C23, the server according to C22, wherein the liveness information includes: at least one of average using times, average using frequency, and average time length of the last using time from the current time.
C24, the server according to any one of C17-C23, wherein if the first tag information includes N tags, N being a positive integer not less than 2, the first providing module includes:
a first extracting unit, configured to extract N1 tags from the N tags based on the sorting priority of each tag of the N tags, where N1 is a positive integer not greater than N;
a first providing unit, configured to provide the N1 tags to the first electronic device.
C25, the server according to C24, wherein the server further comprises:
the first receiving module is used for receiving setting operation of a user of the first electronic equipment and determining the sequencing priority of each label based on the setting operation; and/or the presence of a gas in the gas,
the second determining module is used for determining the occurrence frequency of the related data information corresponding to each label in the M pieces of electronic equipment; and determining the sorting priority based on the occurrence times and the weight values of the labels.
C26, the server according to any of C17-C23, wherein the obtaining module comprises:
a second obtaining unit, configured to obtain a PE-portable executable file of the first application on the M electronic devices;
and the third acquisition unit is used for acquiring the related data information from the executable file which is portable to the PE.
D27, an electronic device, comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring first tag information of a first application program from a server, the server determines the first tag information based on relevant data information of the first application program acquired from M pieces of electronic equipment, and M is a positive integer;
and the second providing module is used for providing the first label information to the user in a mode of being associated with the first application program.
D28, the electronic device of D27, wherein if the first tag information includes N tags, N being a positive integer not less than 2, the second providing module includes:
a second extracting unit, configured to extract an N1 tag from the N tags based on the sorting priority of each of the N tags, where N1 is a positive integer not greater than N;
a second providing unit, configured to provide the N1 tags to a user in a manner associated with the first application.
D29, the electronic device of D28, further comprising:
the second receiving module is used for receiving the setting operation of the user of the first electronic equipment and determining the sequencing priority of each label based on the setting operation; and/or the presence of a gas in the gas,
a third determining module, configured to determine the occurrence frequency of the relevant data information corresponding to each tag in the relevant data information of the M electronic devices; and determining the sorting priority based on the occurrence times and the weight values of the labels.
D30, the electronic device of any of D27-D29, wherein the related data information comprises: program behavior data corresponding to behaviors of the first application program on each electronic device; and/or user behavior data corresponding to the operation of the user of each electronic device on the first application program.
D31, the electronic device of D29, wherein the program behavior data includes: whether there is behavior of binding other application programs, whether there is behavior of running traffic stealing, whether there is behavior of locking the homepage, whether there is behavior of popping up advertisements, whether there is behavior of program self-starting.
D32, the electronic device as claimed in D30, wherein the user behavior data includes: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.

Claims (17)

1. A label providing method, comprising:
respectively obtaining relevant data information of a first application program from M electronic devices, wherein M is a positive integer; the obtaining of the relevant data information of the first application from the M electronic devices, respectively, includes: obtaining PE portable executable files of the first application program on the M electronic devices; obtaining the related data information from the PE portable executable file; the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device; and user behavior data corresponding to the operation of the user of each electronic device on the first application program; the program behavior data includes: whether there is behavior of binding other application programs, whether there is behavior of running steal flow, whether there is behavior of locking homepage, whether there is behavior of popping up advertisement, whether there is at least one behavior data in the behavior of program self-starting;
determining first label information of the first application program based on the related data information;
and providing the first label information to the first electronic equipment so that the first electronic equipment provides the first label information to a user in a mode of being associated with the first application program.
2. The method of claim 1, wherein if the related data information includes the program behavior data, the determining first tag information for the first application based on the related data information comprises:
for each program behavior, determining the total times of generating the corresponding program behavior by the first application program;
judging whether the total times are greater than the preset times of the corresponding program behaviors or not;
and if the number of times is larger than the preset number of times, acquiring the label information of the corresponding program behavior from the corresponding relation between the preset label information and the program behavior as the label information contained in the first label information.
3. The method of claim 1, wherein the user behavior data comprises: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
4. The method of claim 2, wherein if the relevant data information includes the user behavior data, the determining first tag information for the first application based on the relevant data information comprises:
determining liveness information for use of the first application based on the user behavior data;
determining the first tag information based on liveness information.
5. The method of claim 4, wherein the liveness information comprises: at least one of average using times, average using frequency, and average time length of the last using time from the current time.
6. A tag acquisition method, comprising:
acquiring first tag information of a first application program from a server, wherein the server determines the first tag information based on relevant data information of the first application program acquired from M pieces of electronic equipment, and M is a positive integer; the data information related to the first application obtained from the M electronic devices includes: obtaining PE portable executable files of the first application program on the M electronic devices; obtaining the related data information from the PE portable executable file; the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device; and user behavior data corresponding to the operation of the user of each electronic device on the first application program; the program behavior data includes: whether there is behavior of binding other application programs, whether there is behavior of running steal flow, whether there is behavior of locking homepage, whether there is behavior of popping up advertisement, whether there is at least one behavior data in the behavior of program self-starting;
and providing the first label information to a user in a mode of being associated with the first application program.
7. The method of claim 6, wherein if the related data information includes the program behavior data, said determining first tag information for the first application based on the related data information comprises:
for each program behavior, determining the total times of generating the corresponding program behavior by the first application program;
judging whether the total times are greater than the preset times of the corresponding program behaviors or not;
and if the number of times is larger than the preset number of times, acquiring the label information of the corresponding program behavior from the corresponding relation between the preset label information and the program behavior as the label information contained in the first label information.
8. The method of claim 6, wherein the user behavior data comprises: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
9. The method of claim 7, wherein if the relevant data information includes the user behavior data, the determining first tag information for the first application based on the relevant data information comprises:
determining liveness information for use of the first application based on the user behavior data;
determining the first tag information based on liveness information.
10. The method of claim 9, wherein the liveness information comprises: at least one of average using times, average using frequency, and average time length of the last using time from the current time.
11. A server, comprising:
the acquisition module is used for respectively acquiring related data information of the first application program from M pieces of electronic equipment, wherein M is a positive integer; the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device; and user behavior data corresponding to the operation of the user of each electronic device on the first application program; the program behavior data includes: whether there is behavior of binding other application programs, whether there is behavior of running steal flow, whether there is behavior of locking homepage, whether there is behavior of popping up advertisement, whether there is at least one behavior data in the behavior of program self-starting;
the obtaining module includes:
a second obtaining unit, configured to obtain a PE-portable executable file of the first application on the M electronic devices;
a third obtaining unit, configured to obtain the relevant data information from the PE-portable executable file;
a first determining module, configured to determine first tag information of the first application program based on the related data information;
the first providing module is used for providing the first label information to first electronic equipment so as to enable the first electronic equipment to provide the first label information to a user in a mode of being associated with the first application program.
12. The server according to claim 11, wherein if the related data information includes the program behavior data, the first determining module includes:
the first determining unit is used for determining the total times of generating the corresponding program behaviors of the first application program aiming at each program behavior;
the judging unit is used for judging whether the total times are greater than the preset times of the corresponding program behaviors;
and the first obtaining unit is used for obtaining the label information of the corresponding program behavior from the corresponding relation between the preset label information and the program behavior as the label information contained in the first label information if the number of times is larger than the preset number of times.
13. The server of claim 11, wherein the user behavior data comprises: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
14. The server of claim 12, wherein if the relevant data information includes the user behavior data, the first determination module comprises:
a second determining unit, configured to determine, based on the user behavior data, activity information for using the first application program;
a third determination unit configured to determine the first tag information based on the liveness information.
15. The server of claim 14, wherein the liveness information comprises: at least one of average using times, average using frequency, and average time length of the last using time from the current time.
16. An electronic device, comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring first tag information of a first application program from a server, the server determines the first tag information based on relevant data information of the first application program acquired from M pieces of electronic equipment, and M is a positive integer; the related data information includes: program behavior data corresponding to behaviors of the first application program on each electronic device; and user behavior data corresponding to the operation of the user of each electronic device on the first application program; the program behavior data includes: whether there is behavior of binding other application programs, whether there is behavior of running steal flow, whether there is behavior of locking homepage, whether there is behavior of popping up advertisement, whether there is at least one behavior data in the behavior of program self-starting; the obtaining module of the server comprises:
a second obtaining unit, configured to obtain a PE-portable executable file of the first application on the M electronic devices;
a third obtaining unit, configured to obtain the relevant data information from the PE-portable executable file;
and the second providing module is used for providing the first label information to the user in a mode of being associated with the first application program.
17. The electronic device of claim 16, wherein the user behavior data comprises: at least one of time information of the first application program installed by the user, frequency information of the first application program used by the user, and time information of the first application program used by the user.
CN201610513224.1A 2016-06-30 2016-06-30 Label providing method, label obtaining method, server and electronic equipment Active CN106201602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610513224.1A CN106201602B (en) 2016-06-30 2016-06-30 Label providing method, label obtaining method, server and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610513224.1A CN106201602B (en) 2016-06-30 2016-06-30 Label providing method, label obtaining method, server and electronic equipment

Publications (2)

Publication Number Publication Date
CN106201602A CN106201602A (en) 2016-12-07
CN106201602B true CN106201602B (en) 2020-02-14

Family

ID=57464159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610513224.1A Active CN106201602B (en) 2016-06-30 2016-06-30 Label providing method, label obtaining method, server and electronic equipment

Country Status (1)

Country Link
CN (1) CN106201602B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897091B (en) * 2017-02-21 2021-06-01 北京安云世纪科技有限公司 Method and device for storing application program
CN107179930B (en) * 2017-06-12 2020-06-05 广东小天才科技有限公司 Application uninstalling recommendation method and device
CN107832607B (en) * 2017-11-09 2020-10-16 广东小天才科技有限公司 Application program uninstalling prompting method and service equipment
CN109739825B (en) * 2018-12-29 2021-04-30 优刻得科技股份有限公司 Method, apparatus and storage medium for managing log
CN112491877A (en) * 2020-11-26 2021-03-12 中孚安全技术有限公司 User behavior sequence anomaly detection method, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855440A (en) * 2012-09-13 2013-01-02 北京奇虎科技有限公司 Method, device and system for detecting packed executable files
CN102298631B (en) * 2011-08-31 2013-08-21 江苏大学 Novel metadata management system and mixed indexing method for metadata attributes
CN103927486A (en) * 2014-05-06 2014-07-16 珠海市君天电子科技有限公司 Method and system for determining failure features in black feature library
CN104516828A (en) * 2013-09-27 2015-04-15 伊姆西公司 Method and device for removing caching data

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100844854B1 (en) * 2007-11-21 2008-07-10 방용정 System for providing web service linked with portal site with web site, and method thereof
CN102298542A (en) * 2011-08-24 2011-12-28 百度在线网络技术(北京)有限公司 Application program quality determination method and system
US9207755B2 (en) * 2011-12-20 2015-12-08 Iconicast, LLC Method and system for emotion tracking, tagging, and rating and communication
EP2996366B1 (en) * 2014-03-19 2020-03-11 Huawei Technologies Co., Ltd. Application recommendation method, system and server
CN104239571B (en) * 2014-09-30 2018-04-24 北京奇虎科技有限公司 It is a kind of to carry out using the method and apparatus recommended
CN104899130B (en) * 2015-05-22 2018-07-24 深圳市酷开网络科技有限公司 A kind of application management method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298631B (en) * 2011-08-31 2013-08-21 江苏大学 Novel metadata management system and mixed indexing method for metadata attributes
CN102855440A (en) * 2012-09-13 2013-01-02 北京奇虎科技有限公司 Method, device and system for detecting packed executable files
CN104516828A (en) * 2013-09-27 2015-04-15 伊姆西公司 Method and device for removing caching data
CN103927486A (en) * 2014-05-06 2014-07-16 珠海市君天电子科技有限公司 Method and system for determining failure features in black feature library

Also Published As

Publication number Publication date
CN106201602A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN106201602B (en) Label providing method, label obtaining method, server and electronic equipment
CN104008340B (en) Virus scanning and killing method and device
EP2721535B1 (en) Context aware application model for connected devices
US8627293B2 (en) Detecting applications in a virtualization environment
US20160232374A1 (en) Permission control method and apparatus
US10216510B2 (en) Silent upgrade of software with dependencies
CN101583941A (en) Dynamic pre-operating system billboard service
CN104536792A (en) Method and device for eliminating application program residual files
US8918776B2 (en) Self-adapting software system
WO2014048240A1 (en) Method and client for using built-in activex plug-in in browser
CN111428241B (en) Multi-security access policy control method and computing device
CN109117153B (en) Application processing method, device, terminal and storage medium
CN105512294A (en) Multi-media file update prompting method and device
CN106201595A (en) The cleaning control method of a kind of application program and device
CN111143739A (en) Page jump method, computing device and computer storage medium
CN103605538A (en) Method and device for installing software
US9003396B2 (en) File manager integration of uninstallation feature
CN114282212A (en) Rogue software identification method and device, electronic equipment and storage medium
CN110191119B (en) Method and device for determining APP (application) generating abnormal traffic
CN110889116A (en) Advertisement blocking method and device and electronic equipment
CN112307466A (en) Application program detection method and device, electronic equipment and storage medium
CN109976754B (en) Information display method and terminal thereof
CN106201601B (en) A kind of file clean-up method, electronic equipment and server
CN109189497A (en) A kind of method, apparatus and computer equipment for clean room software
US6795914B2 (en) System and method for selectively executing programs in response to a reboot in a computer system

Legal Events

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

Effective date of registration: 20240115

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right