CN114065090A - Method and system for updating classification database, storage medium and computer equipment - Google Patents
Method and system for updating classification database, storage medium and computer equipment Download PDFInfo
- Publication number
- CN114065090A CN114065090A CN202111291155.1A CN202111291155A CN114065090A CN 114065090 A CN114065090 A CN 114065090A CN 202111291155 A CN202111291155 A CN 202111291155A CN 114065090 A CN114065090 A CN 114065090A
- Authority
- CN
- China
- Prior art keywords
- website
- application
- classification
- information
- updating
- 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.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/906—Clustering; Classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides an updating method of a classification database, which comprises the steps of judging whether an attribute type of an application or a website is recorded in a preset classification database when the application or the website is monitored to be in a system foreground; if the attribute type is not recorded, capturing resource monitoring information of the application or the website in the foreground of the system within preset time; judging whether the average value of the resource monitoring information in the preset time meets a preset condition or not, and if so, reporting the application or the website to a background server; and obtaining type classification information determined by analyzing the application or the website in the background server, and updating the classification database according to the type classification information. The invention also provides an updating system, a storage medium and computer equipment of the classification database. Therefore, the method and the device can more accurately identify the application or the website of a specific type, efficiently update the classification database, and reduce the maintenance cost of the classification database.
Description
Technical Field
The present invention relates to the field of detection and identification technologies, and in particular, to a method, a system, a storage medium, and a computer device for updating a classification database.
Background
With the popularization of smart phones, the proportion of mobile phones owned or used by student groups increases year by year, the mobile phones bring a lot of convenience to online learning and entertainment life of students, but also bring negative effects such as indulgence games and videos, influence on eyesight, physical and mental health and the like.
In the prior art, the applications and websites are classified by a configured classification database, for example, the applications and websites are classified into entertainment categories (games/videos, etc.), basic categories, special categories, other categories, etc. in the classification database; and then, performing type identification and enthrallment prevention control on the application or website operated on the student terminal according to the classification database. However, as new applications and websites are added every day, timely supplement and improvement of the classification database are very important; however, the existing scheme cannot provide an effective database updating method, and further effective control on student terminal addiction prevention is influenced.
As can be seen, the conventional method has many problems in practical use, and therefore, needs to be improved.
Disclosure of Invention
In view of the above-mentioned drawbacks, the present invention provides a method, a system, a storage medium and a computer device for updating a categorized database, which can identify a specific type of application or website more accurately, update the categorized database efficiently, and reduce the maintenance cost of the categorized database.
In order to achieve the above object, the present invention provides an updating method of a classification database, comprising the steps of:
when monitoring that an application or a website is in a foreground of a system, judging whether an attribute type of the application or the website is recorded in a preset classification database;
if the attribute type is not recorded, capturing resource monitoring information of the application or the website in the foreground of the system within preset time; the resource monitoring information is at least one of CPU occupation information, memory occupation information, electric quantity power consumption, network flow, frame rate and rendering performance information;
judging whether the average value of the resource monitoring information in the preset time meets a preset condition or not, and if so, reporting the application or the website to a background server;
and obtaining type classification information determined by analyzing the application or the website in the background server, and updating the classification database according to the type classification information.
Optionally, the step of judging whether the average value of the resource monitoring information in the preset time meets a preset condition, and if yes, reporting the application or the website to a background server specifically includes:
calculating the segment mean value corresponding to each time segment of the resource monitoring information in the preset time;
judging whether the ratio of the segment mean values in the threshold interval reaches a preset ratio value or not; the threshold interval is a commonality value interval of a preset attribute type based on resource monitoring;
and if the preset ratio is reached, reporting the corresponding application or the website to a background server.
Optionally, if the preset ratio is reached, the step of reporting the corresponding application or the website to a background server specifically includes:
and extracting the characteristic detail information corresponding to the application or the website, and reporting the characteristic detail information to the background server.
Optionally, the preset ratio is eighty percent.
Optionally, when it is monitored that the application or the website is in the foreground of the system, the step of determining whether the attribute type of the application or the website is recorded in a preset classification database specifically includes:
when the application or the website is monitored to be in the foreground of the system, capturing the characteristic identification of the application or the website;
and judging whether the attribute type matched with the feature identifier exists in the classification database.
Optionally, the step of judging whether the average value of the resource monitoring information in the preset time meets a preset condition, and if yes, reporting the application or the website to a background server further includes:
and if the average value reaches the preset condition, triggering to generate a classification request corresponding to the application or the website, and sending the classification request and the application or the website to the background server.
Optionally, the step of obtaining type classification information determined by analyzing the application or the website in the background server, and updating the classification database according to the type classification information specifically includes:
obtaining type classification information determined by the background server according to the classification request and the application or the website analysis;
and associating and recording the application or the website with the corresponding type classification information in the classification database.
Also provided is a classification database updating system, comprising:
the monitoring and judging unit is used for judging whether the attribute type of the application or the website is recorded in a preset classification database when the application or the website is monitored to be in the foreground of the system;
the acquisition unit is used for acquiring resource monitoring information of the application or the website in the foreground of the system within preset time if the attribute type is not recorded; the resource monitoring information is at least one of CPU occupation information, memory occupation information, electric quantity power consumption, network flow, frame rate and rendering performance information;
a judging and reporting unit, configured to judge whether a mean value of the resource monitoring information in the preset time meets a preset condition, and if so, report the application or the website to a background server;
and the acquisition and updating unit is used for acquiring type classification information determined by analyzing the application or the website in the background server and updating the classification database according to the type classification information.
In addition, a storage medium for storing a computer program for executing the above-described update method of the classification database and a computer device are also provided.
The computer device comprises a storage medium, a processor and a computer program stored on the storage medium and capable of running on the processor, wherein the processor realizes the updating method of the classification database when executing the computer program.
The invention relates to a method and a system for updating a classification database, which are characterized in that the classification database is preset; when monitoring that the application or the website is in the foreground of the system, judging whether the corresponding attribute type is recorded in the classification database; if the corresponding attribute type is not recorded, acquiring resource monitoring information of the application or the website in a system foreground within preset time; further judging whether the average value of the resource monitoring information in the preset time meets a preset condition, and if yes, reporting the application or the website to a background server; and acquiring type classification information determined by analyzing the application or the website in a background server, and updating the classification database according to the type classification information. Therefore, the method and the device can provide background operators with more accurate identification of the preset types of applications and websites, and greatly reduce the cost of maintaining the classification database.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for updating a classification database according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating optional steps of a method for updating a classification database according to an embodiment of the present invention, where the method is used for condition judgment and data reporting;
fig. 3 is a flowchart illustrating optional steps of the classification database updating method for foreground monitoring and attribute determination according to an embodiment of the present invention;
FIG. 4 is a block diagram illustrating the structure of a system for updating a classification database according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of an optional structure of the monitoring and determining unit of the system for updating a classification database according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of an optional structure of the determining and reporting unit of the system for updating a classification database according to an embodiment of the present invention;
fig. 7 is a block diagram illustrating an optional structure of the acquiring and updating unit of the system for updating a categorized database according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that references in the specification to "one embodiment," "an example embodiment," etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not intended to refer to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to effect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
Moreover, where certain terms are used throughout the description and following claims to refer to particular components or features, those skilled in the art will understand that manufacturers may refer to a component or feature by different names or terms. This specification and the claims that follow do not intend to distinguish between components or features that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. In addition, the term "connected" as used herein includes any direct and indirect electrical connection. Indirect electrical connection means include connection by other means.
Fig. 1 illustrates an updating method of a classification database according to an embodiment of the present invention, which includes the following steps:
s101: when the application or the website is monitored to be in the foreground of the system, judging whether the attribute type of the application or the website is recorded in a preset classification database. Specifically, the embodiment is applied to a user terminal, where the user terminal is an intelligent terminal used by a student user, such as a mobile phone, a tablet computer, or a personal computer; when any application is started in the system foreground of the user terminal or any website is accessed in the system foreground, judging whether the attribute type corresponding to the started application or the accessed website is recorded in a pre-configured classification database; the classification database of this embodiment is pre-configured in the user terminal or a related cloud, and the attribute types include, but are not limited to, categories such as entertainment categories (games/videos), basic categories, and special categories.
Referring to fig. 3, in an alternative embodiment, step S101 specifically includes:
s1011: and when the application or the website is monitored to be in the foreground of the system, capturing the characteristic identification of the application or the website. Wherein, the characteristic identifier is a unique identifier for characterizing the specific identity of the application or website, such as a unique application package name or website domain name; therefore, optionally, in this embodiment, when it is monitored that any application or website is in the system foreground, that is, when the application is started or the website is accessed, the corresponding application package name or website domain name is captured. Of course, in other embodiments, the feature identifier may also be an application name, a website link, and the like.
S1012: and judging whether the attribute type matched with the feature identifier exists in the classification database. In the embodiment, whether the attribute type matched with the application package name or the website domain name exists is searched in the classification database, and if the attribute type associated with the application package name or the website domain name exists, the classification database does not need to be further improved; otherwise, if there is no attribute type associated with the application package name or the website domain name, it indicates that the classification database needs to further refine the attribute type classification of the application or the website.
S102: if the attribute type is not recorded, capturing resource monitoring information of the application or the website in the foreground of the system within preset time; the resource monitoring information is at least one of CPU occupation information, memory occupation information, electric quantity and power consumption, network flow, frame rate and rendering performance information. In this embodiment, one or more combinations of CPU occupation information, memory occupation information, power consumption, network traffic, frame rate, and rendering performance information may be used as the resource monitoring information to be captured. In a specific implementation, the preset time may be set according to actual needs, for example, it is set to be ten minutes after the application is started or after the website is accessed, and the resource monitoring information related to the application or the website access is continuously captured within the ten minutes.
S103: and judging whether the average value of the resource monitoring information in the preset time meets a preset condition, and if so, reporting the application or the website to a background server. Wherein the average value is a data monitoring average value of the resource monitoring information; in the embodiment, the resource monitoring information of a specific type is screened out by configuring a preset condition, and then the application or the website meeting the specific type is reported to the background server; the background server is a service management platform in communication connection with the user terminal.
Referring to fig. 2, in an alternative embodiment, step S103 specifically includes:
s111: and calculating the segment mean value corresponding to each time segment of the resource monitoring information in the preset time. That is, in this embodiment, a preset time is divided into a plurality of time segments, for example, the preset time is ten minutes, and the ten minutes are divided into five time segments of 2 minutes (the time segments may be the same time or different times), where the segment mean value is a data monitoring mean value corresponding to the resource monitoring information in each time segment; accordingly, 5 segment means can be obtained within the preset time of the ten minutes. And if the resource monitoring information is a CPU occupation numerical value, the sectional average value is the CPU occupation average value in sectional time.
S112: judging whether the ratio of the segment mean values in the threshold interval reaches a preset ratio value or not; the threshold interval is a commonality value interval of a preset attribute type based on resource monitoring. Optionally, the preset attribute type is entertainment, that is, the threshold interval is a common value interval of the entertainment application or the website based on resource monitoring, for example, the interval is used as the threshold interval according to a rough interval range of CPU occupation conditions when most of the entertainment applications or websites are in the foreground of the system. The threshold interval needs to be configured on the user terminal in advance, and when the segment mean value corresponding to each segment time is calculated and obtained in step S111, whether each segment mean value is in the threshold interval is further judged; if the average value of a certain segment is in the threshold interval, marking the average value as a target object, wherein the ratio is the ratio of the number of the target objects to the total number of all the segment average values; in combination with the above, if 5 mean values are set, and 4 of the segment mean values are within the threshold interval, the percentage is eighty percent.
S113: and if the preset ratio is reached, reporting the corresponding application or website to a background server. In specific implementation, the preset percentage value is set according to actual needs, for example, the preset percentage value is eighty percent; then, in conjunction with the above example, the proportion also reaches eighty percent, and the application or the web address can be reported to the background server in a definite manner. Optionally, step S113 specifically includes: and extracting the characteristic detail information corresponding to the application or the website, and reporting the characteristic detail information to the background server. The feature detail information may be a unique identifier, screenshot information, installation information, and the like carried by the application or the website. For example, when determining that the currently running application needs to be reported, obtaining installation information of the application, and reporting the installation information to the background server.
In a specific example, when a certain application is in a system foreground, capturing the CPU occupation situation of the application after the application is in the foreground, recording the CPU occupation average value of every 2 minutes within 10 minutes after the application is in the foreground, and obtaining 5 CPU occupation average values; if 80% (the preset occupation ratio value is also adjustable, but generally more than 60%) of the CPU occupation average value is in the CPU threshold value interval preset by the game class or the entertainment class, reporting the information (the application name, the application package name and the like) of the application to the background server. Similarly, the web site is accessed in a similar manner, and is not cumbersome.
In another specific example, when a certain application processes the foreground of the system, capturing the memory occupation situation after the application is in the foreground, recording the average memory occupation value every 2 minutes within 10 minutes after the application is in the foreground, and obtaining 5 memory occupation ratio average values; and if 80% of the average value is in a preset memory threshold interval of the games or the entertainment, reporting the information (application name, application package name and the like) of the application to the background server. Similarly, the web site is accessed in a similar manner, and is not cumbersome.
Of course, in other embodiments, the determination may be performed by monitoring information such as power consumption of the application or the website, network traffic consumption, frame rate, rendering performance, and the like, and the specific operation is described in the above example.
S104: and acquiring type classification information determined by analyzing the application or the website in the background server, and updating the classification database according to the type classification information. Specifically, after receiving the relevant information of the application or the website actively reported by the user terminal, the background server judges the application or the website by a background manager, so as to confirm the attribute type relevant to the application or the website; judging which attribute type the application or website belongs to by background management personnel; and then updating the analyzed type classification information to a classification database so as to further improve the classification database. The updating operation aiming at the classification database can be executed in the background server, and can also be automatically updated and completed after the user terminal receives the type classification information fed back by the background server.
The video and game applications or the video and game websites are distinguished from other applications in terms of cpu occupation, memory occupation, power consumption, network traffic consumption, frame rate and rendering performance during video or game playing. Therefore, when application starting or website access is monitored, the system detects that at least one parameter of CPU occupation, memory occupation, electric quantity power consumption, network flow consumption, frame rate and rendering performance which are operated by the foreground accords with game and video characteristics, and the suspicious applications and websites are reported to the background server in time for further auditing. Compared with the prior art that game type and video type applications are identified and identified in a comprehensive screening mode, the technical scheme can provide relatively accurate game type or video type applications and websites for background operators, and greatly reduces the cost for maintaining the classification database.
The classification database of this embodiment includes an application data table, a website data table, a classification table, and the like; the application data table comprises information such as application package names, application names and application types, the website data table comprises information such as website names, website domain names, website links and website types, and the classification table classifies a plurality of applications and websites according to the application types and the website types. Further, the classification database also includes a cpu threshold interval, a memory consumption threshold interval, an electric power consumption threshold interval, a network traffic consumption threshold interval, a frame rate threshold interval, and a rendering performance threshold interval for each classification.
Optionally, after step S104, the method further includes: and synchronously sending the updated classification database to at least one preset terminal. The at least one preset terminal can be a student user terminal, a parent user terminal and other devices; the classification database of this embodiment is specifically updated in a background server, and the background server synchronously issues the classification database to each student user terminal and parent user terminal; so as to be convenient for the student user terminal to be prevented indulging management and control according to the perfect classification database.
In one embodiment, step S103 further includes: and if the average value reaches the preset condition, triggering to generate a classification request corresponding to the application or the website, and sending the classification request and the application or the website to a background server. Optionally, step S104 specifically includes: obtaining type classification information determined by the background server according to the classification request and the application or website analysis; and associating and recording the application or the website and the corresponding type classification information in a classification database. The background server carries out type analysis on the application or the website based on the classification request so as to obtain corresponding type classification information; and then the analyzed type classification information is associated and bound with the corresponding application or website, and finally the type classification information is recorded into a classification database.
Fig. 4 shows an updating system 100 for a classification database according to an embodiment of the present invention, which includes a monitoring and determining unit 10, a capturing unit 20, a determining and reporting unit 30, and an obtaining and updating unit 40, wherein:
the monitoring and judging unit 10 is used for judging whether the preset classification database records the attribute type of the application or the website when the application or the website is monitored to be in the foreground of the system; the capturing unit 20 is configured to capture resource monitoring information that the application or the website is located in the foreground of the system within a preset time if the attribute type is not recorded; the resource monitoring information is at least one of CPU occupation information, memory occupation information, electric quantity power consumption, network flow, frame rate and rendering performance information; the judging and reporting unit 30 is configured to judge whether a mean value of the resource monitoring information in the preset time meets a preset condition, and if yes, report the application or the website to a background server; the obtaining and updating unit 40 is configured to obtain type classification information determined by analyzing the application or the website in the background server, and update the classification database according to the type classification information.
Referring to fig. 6, an optional embodiment summarizes that the determining and reporting unit 30 specifically includes a calculating subunit 31, a condition determining subunit 32, and a reporting subunit 33, where:
the calculating subunit 31 is configured to calculate a segment mean value corresponding to each time segment of the resource monitoring information within the preset time; the condition judging subunit 32 is configured to judge whether a ratio of the segment mean values within a threshold interval reaches a preset ratio value; the threshold interval is a commonality value interval of a preset attribute type based on resource monitoring; the reporting subunit 33 is configured to report the corresponding application or the website to the background server if the preset ratio is reached. Wherein the preset percentage value is preferably eighty percent.
Optionally, the reporting subunit 33 is specifically configured to: and extracting the characteristic detail information corresponding to the application or the website, and reporting the characteristic detail information to the background server.
Referring to fig. 5, in an alternative embodiment, the monitoring and determining unit 10 specifically includes a monitoring capture subunit 11 and an attribute determining subunit 12, where:
the monitoring and capturing subunit 11 is configured to capture a feature identifier of the application or the website when the application or the website is monitored to be in the foreground of the system; the attribute determining subunit 12 is configured to determine whether there is the attribute type matching the feature identifier in the classification database.
Optionally, the determining and reporting unit 40 is further configured to: and if the average value reaches the preset condition, triggering to generate a classification request corresponding to the application or the website, and sending the classification request and the application or the website to the background server.
Referring to fig. 7, in an embodiment, the obtaining and updating unit 40 specifically includes an information obtaining subunit 41 and a data updating subunit 42, where:
the information obtaining subunit 41 is configured to obtain type classification information that is determined by the background server according to the classification request and is used for analyzing the application or the website; the data updating subunit 42 is configured to associate and record the application or the website address with the corresponding type classification information in the classification database.
In an embodiment, the system further includes a sending unit, configured to send the updated classification database to at least one predetermined terminal synchronously.
The present invention also provides a storage medium for storing a computer program of the update method of the classification database described in fig. 1 to 3. Such as computer program instructions, which when executed by a computer, may invoke or otherwise provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on fixed or removable storage media and/or transmitted via a data stream over a broadcast or other signal-bearing medium and/or stored on a storage medium of a computer device operating in accordance with the program instructions. Here, according to an embodiment of the present application, a computer device comprising an update system of a classification database as shown in fig. 4 preferably comprises a storage medium for storing a computer program and a processor for executing the computer program, wherein when the computer program is executed by the processor, the computer device is triggered to execute a method and/or a technical solution according to the foregoing embodiments.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the above steps or functions. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
The method according to the invention can be implemented on a computer as a computer-implemented method, or in dedicated hardware, or in a combination of both. Executable code for the method according to the invention or parts thereof may be stored on a computer program product. Examples of computer program products include memory devices, optical storage devices, integrated circuits, servers, online software, and so forth. Preferably, the computer program product comprises non-transitory program code means stored on a computer readable medium for performing the method according to the invention when said program product is executed on a computer.
In a preferred embodiment, the computer program comprises computer program code means adapted to perform all the steps of the method according to the invention when the computer program is run on a computer. Preferably, the computer program is embodied on a computer readable medium.
In summary, the method and the system for updating the classification database according to the present invention preset a classification database; when monitoring that the application or the website is in the foreground of the system, judging whether the corresponding attribute type is recorded in the classification database; if the corresponding attribute type is not recorded, acquiring resource monitoring information of the application or the website in a system foreground within preset time; further judging whether the average value of the resource monitoring information in the preset time meets a preset condition, and if yes, reporting the application or the website to a background server; and acquiring type classification information determined by analyzing the application or the website in a background server, and updating the classification database according to the type classification information. Therefore, the method and the device can provide background operators with more accurate identification of the preset types of applications and websites, and greatly reduce the cost of maintaining the classification database.
The present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof, and it should be understood that various changes and modifications can be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
The invention also provides A1, a method for updating the classification database, comprising the following steps:
when monitoring that an application or a website is in a foreground of a system, judging whether an attribute type of the application or the website is recorded in a preset classification database;
if the attribute type is not recorded, capturing resource monitoring information of the application or the website in the foreground of the system within preset time; the resource monitoring information is at least one of CPU occupation information, memory occupation information, electric quantity power consumption, network flow, frame rate and rendering performance information;
judging whether the average value of the resource monitoring information in the preset time meets a preset condition or not, and if so, reporting the application or the website to a background server;
and obtaining type classification information determined by analyzing the application or the website in the background server, and updating the classification database according to the type classification information.
A2, according to the method for updating a classification database described in a1, the step of determining whether the average value of the resource monitoring information in the preset time meets a preset condition, and if yes, reporting the application or the website to a background server specifically includes:
calculating the segment mean value corresponding to each time segment of the resource monitoring information in the preset time;
judging whether the ratio of the segment mean values in the threshold interval reaches a preset ratio value or not; the threshold interval is a commonality value interval of a preset attribute type based on resource monitoring;
and if the preset ratio is reached, reporting the corresponding application or the website to a background server.
A3, according to the method for updating a classification database described in a2, if the preset ratio is reached, the step of reporting the corresponding application or the website to a background server specifically includes:
and extracting the characteristic detail information corresponding to the application or the website, and reporting the characteristic detail information to the background server.
A4, according to the method for updating classification database described in A2, the predetermined percentage value is eighty percent.
A5, according to the method for updating a classification database described in a1, when it is monitored that an application or a website is in the foreground of a system, the step of determining whether an attribute type of the application or the website is recorded in a preset classification database specifically includes:
when the application or the website is monitored to be in the foreground of the system, capturing the characteristic identification of the application or the website;
and judging whether the attribute type matched with the feature identifier exists in the classification database.
A6, according to the method for updating a classification database described in a1, the step of determining whether the average value of the resource monitoring information in the preset time meets a preset condition, and if yes, reporting the application or the website to a background server further includes:
and if the average value reaches the preset condition, triggering to generate a classification request corresponding to the application or the website, and sending the classification request and the application or the website to the background server.
A7, according to the method for updating classification database described in a6, the step of obtaining the type classification information determined by the application or the website analysis in the background server, and updating the classification database according to the type classification information specifically includes:
obtaining type classification information determined by the background server according to the classification request and the application or the website analysis;
and associating and recording the application or the website with the corresponding type classification information in the classification database.
A8, the method for updating the classification database according to A1, wherein the steps of obtaining the type classification information determined by the application or the website analysis in the background server, and updating the classification database according to the type classification information further comprise:
and synchronously sending the updated classification database to at least one preset terminal.
B9, an updating system of the classification database is also provided, which comprises:
the monitoring and judging unit is used for judging whether the attribute type of the application or the website is recorded in a preset classification database when the application or the website is monitored to be in the foreground of the system;
the acquisition unit is used for acquiring resource monitoring information of the application or the website in the foreground of the system within preset time if the attribute type is not recorded; the resource monitoring information is at least one of CPU occupation information, memory occupation information, electric quantity power consumption, network flow, frame rate and rendering performance information;
a judging and reporting unit, configured to judge whether a mean value of the resource monitoring information in the preset time meets a preset condition, and if so, report the application or the website to a background server;
and the acquisition and updating unit is used for acquiring type classification information determined by analyzing the application or the website in the background server and updating the classification database according to the type classification information.
B10, according to the system for updating classification database described in B9, the determining and reporting unit specifically includes:
the calculating subunit is configured to calculate a segment mean value corresponding to each time segment of the resource monitoring information within the preset time;
the condition judgment subunit is used for judging whether the ratio of the segment mean values in the threshold interval reaches a preset ratio value; the threshold interval is a commonality value interval of a preset attribute type based on resource monitoring;
and the reporting subunit is configured to report the corresponding application or the website to a background server if the preset ratio is reached.
B11, according to the system for updating classification database described in B10, the reporting subunit is specifically configured to:
and extracting the characteristic detail information corresponding to the application or the website, and reporting the characteristic detail information to the background server.
B12, the preset percentage value is eighty percent according to the updating system of the classification database of B10.
B13, according to the classification database updating system of B9, the monitoring and judging unit specifically comprises:
the monitoring and capturing subunit is used for capturing the characteristic identifier of the application or the website when the application or the website is monitored to be in the foreground of the system;
and the attribute judging subunit is used for judging whether the attribute type matched with the feature identifier exists in the classification database.
B14, according to the system for updating classification database described in B9, the determining and reporting unit is further configured to:
and if the average value reaches the preset condition, triggering to generate a classification request corresponding to the application or the website, and sending the classification request and the application or the website to the background server.
B15, according to the system for updating classification database of B14, the unit for acquiring and updating specifically comprises:
the information acquisition subunit is configured to acquire type classification information that is determined by the background server through analysis on the application or the website according to the classification request;
and the data updating subunit is used for associating and recording the application or the website with the corresponding type classification information in the classification database.
B16, the system for updating classification database according to B9, further comprising:
and the sending unit is used for synchronously sending the updated classification database to at least one preset terminal.
There is also provided C17, a storage medium storing a computer program for executing the method for updating the classification database of any one of a1 to a 8.
Also provided are D18, a computer device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, the processor implementing a method for updating the classification database of any one of a 1-a 8 when executing the computer program.
Claims (10)
1. An updating method of a classification database is characterized by comprising the following steps:
when monitoring that an application or a website is in a foreground of a system, judging whether an attribute type of the application or the website is recorded in a preset classification database;
if the attribute type is not recorded, capturing resource monitoring information of the application or the website in the foreground of the system within preset time; the resource monitoring information is at least one of CPU occupation information, memory occupation information, electric quantity power consumption, network flow, frame rate and rendering performance information;
judging whether the average value of the resource monitoring information in the preset time meets a preset condition or not, and if so, reporting the application or the website to a background server;
and obtaining type classification information determined by analyzing the application or the website in the background server, and updating the classification database according to the type classification information.
2. The method for updating a classification database according to claim 1, wherein the step of determining whether the average value of the resource monitoring information in the preset time meets a preset condition, and if yes, reporting the application or the website to a background server specifically comprises:
calculating the segment mean value corresponding to each time segment of the resource monitoring information in the preset time;
judging whether the ratio of the segment mean values in the threshold interval reaches a preset ratio value or not; the threshold interval is a commonality value interval of a preset attribute type based on resource monitoring;
and if the preset ratio is reached, reporting the corresponding application or the website to a background server.
3. The method for updating a classification database according to claim 2, wherein the step of reporting the corresponding application or the website to a background server if the preset fraction value is reached specifically comprises:
and extracting the characteristic detail information corresponding to the application or the website, and reporting the characteristic detail information to the background server.
4. The method for updating a classification database according to claim 2, wherein the predetermined percentage value is eighty percent.
5. The method for updating a classification database according to claim 1, wherein the step of determining whether the attribute type of the application or the website is recorded in a preset classification database when the application or the website is monitored to be in a foreground of a system specifically comprises:
when the application or the website is monitored to be in the foreground of the system, capturing the characteristic identification of the application or the website;
and judging whether the attribute type matched with the feature identifier exists in the classification database.
6. The method for updating a classification database according to claim 1, wherein the step of determining whether the average value of the resource monitoring information in the preset time meets a preset condition, and if yes, reporting the application or the website to a background server further comprises:
and if the average value reaches the preset condition, triggering to generate a classification request corresponding to the application or the website, and sending the classification request and the application or the website to the background server.
7. The method for updating a classification database according to claim 6, wherein the step of obtaining type classification information determined by the application or the website analysis in the background server, and updating the classification database according to the type classification information specifically comprises:
obtaining type classification information determined by the background server according to the classification request and the application or the website analysis;
and associating and recording the application or the website with the corresponding type classification information in the classification database.
8. An update system for a classification database, comprising:
the monitoring and judging unit is used for judging whether the attribute type of the application or the website is recorded in a preset classification database when the application or the website is monitored to be in the foreground of the system;
the acquisition unit is used for acquiring resource monitoring information of the application or the website in the foreground of the system within preset time if the attribute type is not recorded; the resource monitoring information is at least one of CPU occupation information, memory occupation information, electric quantity power consumption, network flow, frame rate and rendering performance information;
a judging and reporting unit, configured to judge whether a mean value of the resource monitoring information in the preset time meets a preset condition, and if so, report the application or the website to a background server;
and the acquisition and updating unit is used for acquiring type classification information determined by analyzing the application or the website in the background server and updating the classification database according to the type classification information.
9. A storage medium for storing a computer program for executing the method for updating a taxonomy database according to any one of claims 1 to 7.
10. A computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the method for updating the classification database according to any one of claims 1 to 7 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111291155.1A CN114065090A (en) | 2021-11-02 | 2021-11-02 | Method and system for updating classification database, storage medium and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111291155.1A CN114065090A (en) | 2021-11-02 | 2021-11-02 | Method and system for updating classification database, storage medium and computer equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114065090A true CN114065090A (en) | 2022-02-18 |
Family
ID=80236567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111291155.1A Withdrawn CN114065090A (en) | 2021-11-02 | 2021-11-02 | Method and system for updating classification database, storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114065090A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115484194A (en) * | 2022-09-16 | 2022-12-16 | 中国农业银行股份有限公司 | Flow monitoring method and device |
CN117130773A (en) * | 2023-04-28 | 2023-11-28 | 荣耀终端有限公司 | Resource allocation method, device and equipment |
-
2021
- 2021-11-02 CN CN202111291155.1A patent/CN114065090A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115484194A (en) * | 2022-09-16 | 2022-12-16 | 中国农业银行股份有限公司 | Flow monitoring method and device |
CN117130773A (en) * | 2023-04-28 | 2023-11-28 | 荣耀终端有限公司 | Resource allocation method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017101606A1 (en) | System and method for collecting and analyzing data | |
CN110609937A (en) | Crawler identification method and device | |
CN108667855B (en) | Network flow abnormity monitoring method and device, electronic equipment and storage medium | |
CN110442712B (en) | Risk determination method, risk determination device, server and text examination system | |
US20130066814A1 (en) | System and Method for Automated Classification of Web pages and Domains | |
CN114065090A (en) | Method and system for updating classification database, storage medium and computer equipment | |
CN103297435A (en) | Abnormal access behavior detection method and system on basis of WEB logs | |
CN109543891B (en) | Method and apparatus for establishing capacity prediction model, and computer-readable storage medium | |
CN111090813B (en) | Content processing method and device and computer readable storage medium | |
CN105824805B (en) | Identification method and device | |
CN108090359B (en) | Application program monitoring method and application server | |
CN109905738B (en) | Video advertisement abnormal display monitoring method and device, storage medium and electronic equipment | |
CN112733045B (en) | User behavior analysis method and device and electronic equipment | |
CN115408586B (en) | Intelligent channel operation data analysis method, system, equipment and storage medium | |
CN110716973A (en) | Big data based security event reporting platform and method | |
CN111754241A (en) | User behavior perception method, device, equipment and medium | |
CN111158926B (en) | Service request analysis method, device and equipment | |
US20220083910A1 (en) | Learning model applying system, a learning model applying method, and a program | |
CN114238036A (en) | Method and device for monitoring abnormity of SAAS (software as a service) platform in real time | |
CN111352676A (en) | Help information pushing method, help system and readable storage medium | |
CN111625700B (en) | Anti-grabbing method, device, equipment and computer storage medium | |
CN116887340A (en) | Real-time pushing system for short message status report | |
CN112528325B (en) | Data information security processing method and system | |
CN114065091A (en) | Method and system for analyzing use duration of terminal, storage medium and computer equipment | |
CN113923190A (en) | Method and device for identifying equipment identification jump, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220218 |
|
WW01 | Invention patent application withdrawn after publication |