Application software classification method, device, electronic device and readable storage medium

By obtaining application software information and using a classification model to perform keyword matching or classification processing, the problem of low classification efficiency in the existing technology is solved, and more efficient and accurate application software classification is achieved.

CN114707042BInactive Publication Date: 2024-10-25NAT COMP NETWORK & INFORMATION SECURITY MANAGEMENT CENT
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210383425.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-13
Publication Date
2024-10-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The classification efficiency of existing mobile application software is low, mainly because the dictionary cannot fully cover all application software, which requires a large amount of manual intervention.

Method used

By obtaining the application software information, keywords are extracted and matched with the preset category dictionary. If the matching fails, the preset classification model is used to classify the application information and determine the software category. The method includes obtaining application information, extracting keywords, performing keyword matching, determining the category if the match is successful, using a classification model to classify if the match fails, and determining the maximum number of categories as the final category according to the application store classification.

Benefits of technology

It improves the classification efficiency and accuracy of application software, reduces manual intervention, and ensures the reliability of classification results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114707042B_ABST
    Figure CN114707042B_ABST
Patent Text Reader

Abstract

The present application discloses an application software classification method, device, electronic device and computer-readable storage medium, which are applied to the software field. The method includes: obtaining application information corresponding to the application software to be classified; extracting keywords in the application information; using keywords to match keywords with a preset category dictionary; if the target preset keyword matches successfully, the category corresponding to the target preset keyword is determined as the software category of the application software to be classified; if the match fails, the application information is classified and processed using a preset classification model to obtain a software category; the method uses a preset classification model to classify the application software to be classified that is not covered by the preset category dictionary, without manual intervention in the classification process, thereby improving the classification efficiency. At the same time, avoiding manual intervention can also improve the classification accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of software technology, and in particular to an application software classification method, an application software classification device, an electronic device and a computer-readable storage medium. Background Art

[0002] At present, the classification of mobile application software is mainly based on the relevant information of the store application (such as: application name, application description, classification marked by the application store, etc.), and the characteristic words corresponding to each category are manually screened and sorted to form a characteristic keyword dictionary, and the application information is matched with the characteristic keyword dictionary to obtain the category of the mobile application. However, the dictionary cannot completely cover all application software, so a lot of manual intervention is still required, resulting in low classification efficiency.

[0003] Therefore, the problem of low classification efficiency in the related technology is a technical problem that needs to be solved by technical personnel in this field. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide an application software classification method, an application software classification device, an electronic device and a computer-readable storage medium, so as to improve the classification efficiency and accuracy.

[0005] In order to solve the above technical problems, the present application provides an application software classification method, comprising:

[0006] Obtain application information corresponding to the application software to be classified;

[0007] Extracting keywords from the application information;

[0008] Using the keywords to match the keywords with a preset category dictionary;

[0009] If the target preset keyword is matched successfully, the category corresponding to the target preset keyword is determined as the software category of the application software to be classified;

[0010] If the match fails, the application information is classified using a preset classification model to obtain the software category.

[0011] Optionally, the classifying the application information using a preset classification model to obtain the software category includes:

[0012] Inputting the application information into the preset classification model to obtain an initial classification result and a corresponding result accuracy;

[0013] If the accuracy of the result is not less than a preset accuracy threshold, determining the initial classification result as the software category;

[0014] If the accuracy of the result is less than the preset accuracy threshold, then based on the application store classification corresponding to the application software to be classified, determine the maximum number of categories in each preset category; wherein the number of application stores corresponding to the maximum number of categories is not less than the number of application stores corresponding to other preset categories;

[0015] The maximum number of categories is determined as the software categories.

[0016] Optionally, obtaining application information corresponding to the application software to be classified includes:

[0017] Obtaining the name and description information of the application software to be classified;

[0018] Obtaining a description picture of the application software to be classified, and performing text recognition processing on the description picture to obtain picture description information;

[0019] The name, the description information and the picture description information are determined as the application information.

[0020] Optionally, the process of constructing the preset category dictionary includes:

[0021] Obtain application store categories and initial application information corresponding to multiple initial application software respectively;

[0022] Determining the preset categories to which the application store categories belong respectively, and grouping the initial application information based on the preset categories to obtain a plurality of information groups;

[0023] Performing high-frequency word extraction processing on the initial application information in each of the information groups to obtain high-frequency words; wherein the frequency of occurrence of the high-frequency words in each of the initial application information is greater than the frequency of occurrence of the non-high-frequency words in each of the initial application information;

[0024] Determining a target application software in the initial application software, and performing feature word extraction processing on target application information corresponding to the target application software to obtain feature words;

[0025] The preset category dictionary is constructed using the high-frequency words, the characteristic words and the preset categories.

[0026] Optionally, the performing feature word extraction processing on the target application information corresponding to the target application software to obtain the feature words includes:

[0027] Visually displaying the target application information to facilitate artificial feature word extraction;

[0028] A feature word extraction result for the target application information is obtained, and the feature word is obtained by using the feature word extraction result.

[0029] Optionally, the generation process of the preset classification model includes:

[0030] Get training application information and corresponding training category labels;

[0031] Using the training application information, the training category labels and the preset category dictionary to train an initial classification model to obtain the preset classification model;

[0032] If update training application information and corresponding update training category labels are detected, or if it is detected that the preset category dictionary is updated, update training is performed on the preset classification model.

[0033] Optionally, there are multiple application software to be classified, and the method further includes:

[0034] Based on the download amounts of each of the to-be-classified application software, the to-be-classified application software is divided into a plurality of application software groups;

[0035] Sampling each of the application software groups to obtain application software to be tested and corresponding software categories to be tested;

[0036] Manually testing the application software to be tested and the software category to be tested to obtain manual testing results;

[0037] The target object is updated based on the manual detection result; the target object is any one of the software categories to be tested, or the software category to be tested and the preset category dictionary.

[0038] The present application also provides an application software classification device, comprising:

[0039] An acquisition module is used to acquire application information corresponding to the application software to be classified;

[0040] A keyword extraction module, used to extract keywords from the application information;

[0041] A matching module, used for matching the keywords with a preset category dictionary;

[0042] A first determination module, configured to determine the category corresponding to the target preset keyword as the software category of the application software to be classified if the target preset keyword is matched successfully;

[0043] The second determination module is used to classify the application information using a preset classification model to obtain the software category if the matching fails.

[0044] The present application also provides an electronic device, including a memory and a processor, wherein:

[0045] The memory is used to store the computer program;

[0046] The processor is used to execute the computer program to implement the above-mentioned application software classification method.

[0047] The present application also provides a computer-readable storage medium for storing a computer program, wherein the computer program implements the above-mentioned application software classification method when executed by a processor.

[0048] The application software classification method provided in the present application obtains application information corresponding to the application software to be classified; extracts keywords in the application information; uses the keywords to match the keywords with a preset category dictionary; if the target preset keyword matches successfully, the category corresponding to the target preset keyword is determined as the software category of the application software to be classified; if the match fails, the application information is classified and processed using a preset classification model to obtain a software category.

[0049] It can be seen that the method first extracts keywords from the application information and matches it with the preset category dictionary for keywords. If the target preset keyword matches successfully, the category corresponding to the target preset keyword in the preset category dictionary can be directly determined and determined as the software category. If the match fails, it means that the preset category dictionary does not cover the application software to be classified. In this application, a pre-trained preset classification model is used to classify the application software to be classified based on its application information to obtain the software category. Using the preset classification model, the application software to be classified that is not covered by the preset category dictionary can be classified without manual intervention in the classification process, thereby improving the classification efficiency. At the same time, avoiding manual intervention can also improve the classification accuracy.

[0050] In addition, the present application also provides an application software classification device, an electronic device and a computer-readable storage medium, which also have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0052] Figure 1 A flow chart of an application software classification method provided in an embodiment of the present application;

[0053] Figure 2 A specific application software classification system architecture diagram provided for an embodiment of the present application;

[0054] Figure 3 A schematic diagram of an application store classification provided in an embodiment of the present application;

[0055] Figure 4 A schematic diagram of a preset category dictionary provided in an embodiment of the present application;

[0056] Figure 5 A flow chart of a preset classification model training process provided in an embodiment of the present application;

[0057] Figure 6 A flowchart of a keyword extraction process provided in an embodiment of the present application;

[0058] Figure 7 A flow chart of a model training process provided in an embodiment of the present application;

[0059] Figure 8 A flow chart of an application software classification process provided in an embodiment of the present application;

[0060] Fig. 9 A schematic diagram of the structure of an application software classification device provided in an embodiment of the present application;

[0061] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0063] Please refer to Figure 1 , Figure 1 A flow chart of an application software classification method provided in an embodiment of the present application. The method includes:

[0064] S101: Obtain application information corresponding to the application software to be classified.

[0065] It should be noted that each step in the present application can be executed by a designated electronic device, and the number of the designated electronic devices can be one or more, specifically a computer, a server or a cluster consisting of multiple electronic devices.

[0066] Application software to be classified refers to application software that needs to be determined to belong to a certain category, and there is no limit on the number of such applications. In order to implement the principles of legal, legitimate and necessary collection of personal information in the Cybersecurity Law of the People's Republic of China, regulate the collection of personal information by apps (application software), and protect the personal information security of citizens, the Cyberspace Administration of China has studied and drafted the "Scope of Necessary Personal Information for Common Types of Mobile Internet Applications (Apps) (Draft for Comments)". The "Draft for Comments" has different regulatory standards for each category of application software. Therefore, mobile application software needs to be classified. Usually, it is mainly divided into 39 types of apps specified in the "Scope of Necessary Personal Information for Common Types of Mobile Internet Applications (Apps)" announced by the Cyberspace Administration of China on December 1, 2020.

[0067] In order to accurately classify the software to be classified, this application not only uses a preset category dictionary, but also has a preset classification model. The preset classification model can classify the application software to be classified when the preset category dictionary cannot be used directly for classification. Figure 2 , Figure 2 A specific application software classification system architecture structure diagram provided for the embodiment of the present application. It can be seen that the entire classification system is divided into three layers from a logical level. The data layer is the bottom layer, which is in line with collecting data. The collected data is reported to the service layer as the basis for classification. The service layer includes a machine learning program and an automatic classification program. The machine learning program uses the data preprocessing module to generate training data, which is provided to the model training model for model training to obtain a preset classification model. The model usage module is used to classify using the preset classification model to generate classification information. The automatic classification program can use the data preprocessing module to preprocess the data, segment the data, and extract keywords. At the same time, it can also call the keyword dictionary (i.e., the preset category dictionary) for mapping in order to classify it. The machine learning program and the automatic classification program work together to complete the automatic classification business of the APP at the business level.

[0068] It should be noted that the basic data used for classification obtained by the data layer can be called application information. It is understandable that the application information corresponding to different application software to be classified may be different. The specific content of the application information is not limited. For example, in a feasible implementation, the application information may include the application name, application introduction, etc. In another implementation, the text in the image can be recognized using optical character recognition (OCR) technology to obtain image description information as part of the application information. That is, the name and description information of the application software to be classified can be obtained first, and the description image of the application software to be classified can be obtained at the same time, and the description image of the application software to be classified can be processed by text recognition to obtain the image description information, and finally the name, description information and image description information can be determined as the application information.

[0069] S102: Extract keywords from application information.

[0070] Keywords refer to words in application information that may represent the category to which it belongs. The number of keywords corresponding to each application information may be one or more. This embodiment does not limit the specific method of keyword extraction. For example, in one implementation, the application information may be segmented, and all words obtained after segmentation are used as keywords. In some cases, some content after segmentation may be invalid content, such as spaces, line feed characters, or pre-selected special characters. These invalid contents are deemed to be unable to be used to represent the category. In this case, the invalid content can be filtered out and the remaining valid content can be retained as keywords, or keywords can be further determined in the valid content.

[0071] S103: Using the keywords and the preset category dictionary to perform keyword matching.

[0072] The preset category dictionary refers to a dictionary that records the correspondence between categories and preset keywords. After determining the keywords, each keyword is matched with each preset keyword in the preset category dictionary to try to determine the category of the application software to be classified.

[0073] It is understandable that before using the preset category dictionary for keyword matching, it is necessary to obtain the preset category dictionary. This embodiment does not limit the method of obtaining the preset category dictionary. In one embodiment, the preset category dictionary that has been generated can be obtained from other electronic devices. In another embodiment, the preset category dictionary can be constructed using other data. In order to obtain an accurate and wide-coverage preset category dictionary so as to accurately classify the application software to be classified, the construction process of the preset category dictionary may include:

[0074] Step 11: Obtain application store categories and initial application information corresponding to the multiple initial application software.

[0075] Step 12: Determine the preset categories to which each application store category belongs, and group the initial application information based on the preset categories to obtain multiple information groups.

[0076] Step 13: Perform high-frequency word extraction processing on the initial application information in each information group to obtain high-frequency words.

[0077] Step 14: Determine the target application software in the initial application software, and perform feature word extraction processing on the target application information corresponding to the target application software to obtain feature words.

[0078] Step 15: Construct a preset category dictionary using high-frequency words, feature words and preset categories.

[0079] Initial application information refers to the application information corresponding to the initial application software. Initial application software refers to application software with accurate classification after manual or other classification processing. In this application, the classification of initial application software by various application stores (such as Apple's APP store, 360 Mobile Assistant, OPPO Software Store, etc.) can be used as the accurate classification of initial application software. Please refer to Figure 3 , Figure 3 A schematic diagram of application store classification provided for an embodiment of the present application, showing application stores, application software names and corresponding application store classifications.

[0080] It is understandable that each application store has a different way of classifying application software, so the application store classification may not completely match the preset categories in the preset category dictionary (such as the 39 categories mentioned above). In this case, the preset category to which the application store classification belongs can be first determined, and used as a basis to correspond the initial application information and the preset category. After the correspondence is completed, the initial application information is grouped based on the preset category to obtain multiple information groups, each of which corresponds to a preset category.

[0081] When a certain word appears frequently in the description information of a certain type of application software, it can be considered that the word can represent a certain feature of the application software. In this case, the word can be used as a preset keyword corresponding to the preset category. Therefore, the initial application information in each information group is subjected to high-frequency word extraction processing to obtain high-frequency words. The frequency of high-frequency words appearing in each initial application information is greater than the frequency of non-high-frequency words appearing in each initial application information. The number of high-frequency words corresponding to each preset category can be the same or different. For example, the number of high-frequency words corresponding to each preset category can be set, or a frequency threshold can be set, and words with a frequency greater than the threshold are set as high-frequency words.

[0082] In addition, for some application software, due to some reasons (such as professional development team, or large number of applications or downloads), the corresponding application information describes its category more accurately, or its influence is greater, so that the same type of application software will use a similar description method to generate application information. These application software can be called typical applications, or target application software. Specifically, the initial application software with a download volume greater than a preset number, or the part of the software development team as a designated team can be determined as the target application software, and the corresponding target application information is subjected to feature word extraction processing. This processing can be completed by an automated method such as recognition using a neural network, or, in another embodiment, it can be completed manually. For example, the target application information can be visualized for manual feature word extraction processing. The target application information is manually marked by clicking, selecting, etc., or the corresponding information is input through an interactive component. The electronic device obtains the feature word extraction result for the target application information, and obtains the feature word using the feature word extraction result, for example, selecting the feature word from the target application information based on the feature word extraction result, or directly parsing the feature word extraction result to obtain the feature word.

[0083] After obtaining the characteristic words and high-frequency words, establish the corresponding relationship between them and the corresponding preset categories to obtain the preset category dictionary. Figure 4 , Figure 4 A schematic diagram of a preset category dictionary provided in an embodiment of the present application, showing some preset categories and corresponding preset keywords.

[0084] After matching the keywords with the preset category dictionary, if a keyword is detected to be recorded in the preset category dictionary, the keyword can be determined as the target preset keyword and step S104 is executed. If no match is found, step S105 is executed.

[0085] S104: If the target preset keyword is matched successfully, the category corresponding to the target preset keyword is determined as the software category of the application software to be classified.

[0086] If there is a target preset keyword, it means that the application information can intuitively represent the category of the application software to be classified. In this case, the preset category corresponding to the target preset keyword can be directly determined as the software category of the application software to be classified.

[0087] S105: If the matching fails, the application information is classified using a preset classification model to obtain a software category.

[0088] If there is no target preset keyword, that is, all keywords are not recorded in the preset category dictionary. In this case, the preset classification model can be used for classification processing. The preset classification model is pre-trained and can predict the type of the application software to be classified based on the application information to obtain the software category. This embodiment does not limit the specific processing process of the classification processing. In a feasible implementation, the application information can be input into the preset classification model to obtain the initial classification result and the corresponding result accuracy. Among them, the result accuracy refers to the accuracy that characterizes the reliability of the initial classification result. If the result accuracy is not less than the preset accuracy threshold, it means that the reliability of the initial classification result is high, so the initial classification result can be directly determined as the software category. If the result accuracy is less than the preset accuracy threshold, it means that the reliability of the initial classification result is poor. In order to ensure the classification accuracy, in this case, the initial classification result is not determined as the final classification result, but based on the application store classification corresponding to the application software to be classified, the maximum number of categories in each preset category is determined. The maximum number category is a preset category, and the number of application stores corresponding to it is not less than the number of application stores corresponding to other preset categories. Specifically, the application software to be classified has a corresponding application store category in each application store, and one application store category corresponds to a preset category. Multiple application stores have corresponding categories for the application software to be classified, that is, there are multiple application store categories. Multiple application store categories correspond to at least one preset category. If more application stores believe that the application software to be classified belongs to a preset category, the reliability of the classification result is relatively strong. The preset category with the largest number, that is, the category with the largest number, has the highest reliability. Therefore, the category with the largest number can be directly determined as the software category to complete the classification.

[0089] It is understandable that before using the preset classification model for classification, it is necessary to generate the preset classification model. Specifically, the generation process of the preset classification model may include:

[0090] Step 21: Get the training application information and the corresponding training category label.

[0091] Step 22: Train the initial classification model using the training application information, the training category labels, and the preset category dictionary to obtain the preset classification model.

[0092] Step 23: If updated training application information and corresponding updated training category labels are detected, or if it is detected that the preset category dictionary is updated, update training is performed on the preset classification model.

[0093] Training application information refers to application information with labels used for model training, and its label is the training category label. In this application, the initial classification model is trained using the training application information, the training category label and the preset category dictionary to obtain the preset classification model. The initial classification model is an untrained model, and its specific structure is not limited. For example, it can be a BERT (Bidirectional Encoder Representations from Transformers) model. The training process can be multiple rounds, and the parameters of the initial classification model are adjusted after each round of training. When the training round reaches the preset round, or when the accuracy of the initial classification model reaches the preset threshold, the initial classification model is determined as the preset classification model.

[0094] In addition, when necessary, the existing preset classification model can be further trained to continuously improve its prediction accuracy. Specifically, when the data used for training, such as training application information or preset category dictionary, is updated, such as added or modified, the preset classification model can be further trained using the updated training data.

[0095] For details, please refer to Figure 5 , Figure 5 A flow chart of a preset classification model training process provided in an embodiment of the present application. The data to be processed in the training process is the training application information, which is processed by manual annotation to obtain the corresponding training category labels, which together constitute the training data. The training data is input into the data preprocessing module for preprocessing, please refer to Figure 6 , Figure 6 A flowchart of a keyword extraction process provided in an embodiment of the present application is applied to a data preprocessing module. The original data portion (i.e., the data portion to be processed) in the training data is subjected to OCR technology to extract the image description information corresponding to the image data. Further, all text information is filtered for invalid information, and the filtered content is divided into training set, verification set, and test set. The divided training set is segmented to obtain processed data.

[0096] The processed data is applied to the model training module to train the initial BERT model. Figure 7 , Figure 7A flow chart of a model training process provided in an embodiment of the present application. The BERT model can obtain context-related bidirectional feature representations to make more accurate predictions. The model training module applies the processed data to perform model training and adjusts the model parameters after training. The adjusted model is further trained using the validation set to improve and optimize the model and improve classification accuracy. At the same time, the test set is used for testing. If it fails, the training continues. If it passes, the training is completed.

[0097] After training, the BERT model can be used for classification. The BERT model is deployed to the automated classification program so that it can be called when needed. Figure 8 When in use, the data to be processed in the application process, that is, the application information, is input into the BERT model. The BERT model classifies and processes the data to obtain the classification result data. The classification result data can be stored in a specified file for reading.

[0098] Furthermore, after the classification is completed, manual detection can be further performed. Specifically, there can be multiple application software to be classified. After the classification is completed, the application software to be classified can be divided into multiple application software groups based on the download volume corresponding to each application software to be classified, and each application software group can be sampled to obtain the application software to be tested and the corresponding software category to be tested. By grouping and sampling, the coverage of the detection can be increased as much as possible, and the reliability of the detection can be improved. The application software to be tested and the software category to be tested are manually detected to obtain the manual detection results, which can be specifically visually outputting the application information of the application software to be tested, the software category to be tested, etc., and obtaining the corresponding manual detection results. The target object is updated based on the manual detection results, wherein the target object is any software category to be tested, or the software category to be tested and the preset category dictionary. For example, when the software category to be tested is wrong, it can be changed, or when the preset classification network frequently classifies application information with a certain keyword into a preset category, the corresponding relationship between the keyword and the preset category can be added to the preset category dictionary.

[0099] Using the application software classification method provided by the embodiment of the present application, firstly, keyword extraction is performed on the application information, and keyword matching is performed between the application information and the preset category dictionary. If the target preset keyword is matched successfully, the category corresponding to the target preset keyword in the preset category dictionary can be directly determined, and it can be determined as the software category. If the match fails, it means that the preset category dictionary does not cover the application software to be classified. In this application, a pre-trained preset classification model is used to classify the application software to be classified based on its application information to obtain the software category. Using the preset classification model, the application software to be classified that is not covered by the preset category dictionary can be classified without manual intervention in the classification process, thereby improving the classification efficiency. At the same time, avoiding manual intervention can also improve the classification accuracy.

[0100] The following is an introduction to the application software classification device provided in the embodiment of the present application. The application software classification device described below and the application software classification method described above can be referenced to each other.

[0101] Please refer to Fig. 9 , Fig. 9 A schematic diagram of the structure of an application software classification device provided in an embodiment of the present application includes:

[0102] The acquisition module 110 is used to acquire application information corresponding to the application software to be classified;

[0103] A keyword extraction module 120, used to extract keywords from application information;

[0104] A matching module 130 is used to match keywords with a preset category dictionary;

[0105] The first determination module 140 is used to determine the category corresponding to the target preset keyword as the software category of the application software to be classified if the target preset keyword is matched successfully;

[0106] The second determination module 150 is used to classify the application information using a preset classification model to obtain a software category if the matching fails.

[0107] Optionally, the second determining module 150 includes:

[0108] An input unit, used to input application information into a preset classification model to obtain an initial classification result and a corresponding result accuracy;

[0109] A first determination unit, configured to determine the initial classification result as a software category if the result accuracy is not less than a preset accuracy threshold;

[0110] The second determining unit is used to determine the maximum number of categories in each preset category based on the application store category corresponding to the application software to be classified if the result accuracy is less than the preset accuracy threshold; wherein the number of application stores corresponding to the maximum number of categories is not less than the number of application stores corresponding to other preset categories;

[0111] The third determining unit is configured to determine the maximum number of categories as software categories.

[0112] Optionally, the acquisition module 110 includes:

[0113] An initial acquisition unit, used to acquire the name and description information of the application software to be classified;

[0114] The text recognition unit is used to obtain the description image of the application software to be classified, and perform text recognition processing on the description image to obtain the image description information;

[0115] The information determination unit is used to determine the name, description information and picture description information as application information.

[0116] Optionally include:

[0117] An initial acquisition module, used to obtain application store categories and initial application information corresponding to a plurality of initial application software;

[0118] A grouping module, used to determine the preset categories to which each application store category belongs, and to group the initial application information based on the preset categories to obtain a plurality of information groups;

[0119] A high-frequency word extraction module is used to extract high-frequency words from the initial application information in each information group to obtain high-frequency words; wherein the frequency of occurrence of the high-frequency words in each initial application information is greater than the frequency of occurrence of the non-high-frequency words in each initial application information;

[0120] The feature word extraction module is used to determine the target application software in the initial application software, and perform feature word extraction processing on the target application information corresponding to the target application software to obtain the feature words;

[0121] The dictionary building module is used to build a preset category dictionary using high-frequency words, feature words and preset categories.

[0122] Optionally, the feature word extraction module includes:

[0123] A visualization unit, used for visualizing the target application information so as to perform artificial feature word extraction processing;

[0124] The feature word determination unit is used to obtain a feature word extraction result for the target application information and obtain a feature word using the feature word extraction result.

[0125] Optionally include:

[0126] A training acquisition module is used to obtain training application information and corresponding training category labels;

[0127] A training module, used to train an initial classification model using training application information, training category labels and a preset category dictionary to obtain a preset classification model;

[0128] The update training module is used to update the preset classification model if update training application information and corresponding update training category labels are detected, or if it is detected that the preset category dictionary is updated.

[0129] Optionally, it also includes:

[0130] An application grouping module, used to divide the application software to be classified into a plurality of application software groups based on the download volume corresponding to each application software to be classified;

[0131] The sampling module is used to sample each application software group to obtain the application software to be tested and the corresponding software category to be tested;

[0132] A manual detection module is used to manually detect the application software to be tested and the software category to be tested, and obtain the manual detection results;

[0133] The updating module is used to update the target object based on the manual detection result; the target object is any category of the software to be tested, or the category of the software to be tested and the preset category dictionary.

[0134] The electronic device provided in the embodiment of the present application is introduced below. The electronic device described below and the application software classification method described above can be referenced to each other.

[0135] Please refer to Fig.10 , Fig.10 The electronic device 100 may include a processor 101 and a memory 102 , and may further include one or more of a multimedia component 103 , an information input / information output (I / O) interface 104 , and a communication component 105 .

[0136] The processor 101 is used to control the overall operation of the electronic device 100 to complete all or part of the steps in the above-mentioned application software classification method; the memory 102 is used to store various types of data to support the operation of the electronic device 100, and these data may include, for example, instructions for any application or method used to operate on the electronic device 100, and application-related data. The memory 102 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), programmable read-only memory (Programmable Read-Only Memory, PROM), read-only memory (Read-Only Memory, ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0137] The multimedia component 103 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone, which is used to receive external audio signals. The received audio signal may be further stored in the memory 102 or sent through the communication component 105. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 104 provides an interface between the processor 101 and other interface modules, and the above-mentioned other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 105 is used for wired or wireless communication between the electronic device 100 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 105 may include: Wi-Fi components, Bluetooth components, NFC components.

[0138] The electronic device 100 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the application software classification method given in the above embodiment.

[0139] The computer-readable storage medium provided in the embodiments of the present application is introduced below. The computer-readable storage medium described below and the application software classification method described above can be referenced to each other.

[0140] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned application software classification method are implemented.

[0141] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0142] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0143] Those skilled in the art may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0144] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0145] Finally, it should be noted that, in this article, relationships such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms include, include or any other variations are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0146] Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for classifying application software, characterized in that: include: Obtain application information corresponding to the application software to be classified; Extracting keywords from the application information; Using the keywords to match the keywords with a preset category dictionary; If the target preset keyword is matched successfully, the category corresponding to the target preset keyword is determined as the software category of the application software to be classified; If the match fails, the application information is classified using a preset classification model to obtain the software category; The process of constructing the preset category dictionary includes: Obtain application store categories and initial application information corresponding to multiple initial application software respectively; Determining the preset categories to which the application store categories belong respectively, and grouping the initial application information based on the preset categories to obtain a plurality of information groups; Performing high-frequency word extraction processing on the initial application information in each of the information groups to obtain high-frequency words; wherein the frequency of occurrence of the high-frequency words in each of the initial application information is greater than the frequency of occurrence of the non-high-frequency words in each of the initial application information; Determining a target application software in the initial application software, and performing feature word extraction processing on target application information corresponding to the target application software to obtain feature words; Constructing the preset category dictionary using the high-frequency words, the characteristic words and the preset categories; The generation process of the preset classification model includes: Get training application information and corresponding training category labels; Using the training application information, the training category labels and the preset category dictionary to train an initial classification model to obtain the preset classification model; If update training application information and corresponding update training category labels are detected, or if it is detected that the preset category dictionary is updated, update training is performed on the preset classification model.

2. The application software classification method according to claim 1, characterized in that: The classifying the application information using a preset classification model to obtain the software category includes: Inputting the application information into the preset classification model to obtain an initial classification result and a corresponding result accuracy; If the accuracy of the result is not less than a preset accuracy threshold, determining the initial classification result as the software category; If the accuracy of the result is less than the preset accuracy threshold, then based on the application store classification corresponding to the application software to be classified, determine the maximum number of categories in each preset category; wherein the number of application stores corresponding to the maximum number of categories is not less than the number of application stores corresponding to other preset categories; The maximum number of categories is determined as the software categories.

3. The application software classification method according to claim 1, characterized in that: The obtaining of application information corresponding to the application software to be classified includes: Obtaining the name and description information of the application software to be classified; Obtaining a description picture of the application software to be classified, and performing text recognition processing on the description picture to obtain picture description information; The name, the description information and the picture description information are determined as the application information.

4. The application software classification method according to claim 1, characterized in that: The step of performing feature word extraction processing on the target application information corresponding to the target application software to obtain feature words includes: Visually displaying the target application information to facilitate artificial feature word extraction; A feature word extraction result for the target application information is obtained, and the feature word is obtained by using the feature word extraction result.

5. The application software classification method according to claim 1, characterized in that: There are multiple application software to be classified, and the method further includes: Based on the download amounts of each of the to-be-classified application software, the to-be-classified application software is divided into a plurality of application software groups; Sampling each of the application software groups to obtain application software to be tested and corresponding software categories to be tested; Manually testing the application software to be tested and the software category to be tested to obtain manual testing results; The target object is updated based on the manual detection result; the target object is any one of the software categories to be tested, or the software category to be tested and the preset category dictionary.

6. An application software classification device, used to implement the application software classification method according to any one of claims 1 to 5, characterized in that: include: An acquisition module is used to acquire application information corresponding to the application software to be classified; A keyword extraction module, used to extract keywords from the application information; A matching module, used for matching the keywords with a preset category dictionary; A first determination module, configured to determine the category corresponding to the target preset keyword as the software category of the application software to be classified if the target preset keyword is matched successfully; The second determination module is used to classify the application information using a preset classification model to obtain the software category if the matching fails.

7. An electronic device, characterized in that: comprising a memory and a processor, wherein: The memory is used to store the computer program; The processor is used to execute the computer program to implement the application software classification method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program, when executed by a processor, implements the application software classification method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Generation device and method for text classification model and a computer readable memory medium

    CN108804512A

  • Text classification method and apparatus, electronic device, and computer non-volatile readable storage medium

    WO2021051560A1