Pre-auditing method, pre-auditing system and pre-auditing equipment for auditing Apple Application Store

Through the pre-review method and system of the Apple App Store, we conduct in-depth analysis of IPA packages and metadata, identify potential risks, and generate pre-review reports, which solves the problems of complexity and uncertainty in the review process and improves review accuracy and efficiency. , reducing legal risks.

CN118690345APending Publication Date: 2024-09-24SHANGHAI INGOT NETWORK TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410723703.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The review process of the Apple App Store is complex and time-consuming. It is difficult for developers to predict when their applications will be launched, which increases the uncertainty of marketing and user acquisition. At the same time, it is impossible to know in advance whether the application meets the review standards, resulting in increased psychological pressure and project risks.

Method used

Provide a pre-audit method and system to identify ICON infringement, APP package name sensitive words, resource file infringement, binary code file risks and qualification file integrity through preliminary audit of IPA packages and metadata, and generate a pre-audit report to help Developers discover potential problems in advance and optimize them.

Benefits of technology

It improves the probability and efficiency of applications passing review, reduces legal risks caused by infringement or inappropriate content, protects the rights and interests of developers and platforms, and reduces the risk of review rejection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690345A
    Figure CN118690345A
Patent Text Reader

Abstract

The invention relates to the technical field of Internet, in particular to a pre-auditing method, system and equipment for auditing an Apple Application Store.The method specifically comprises the steps that an IPA package is decompressed, and application program content is obtained; carrying out infringement identification on the ICON file of the application program content, and judging whether the application program content is suspected of ICON infringement or not; analyzing the APP package name of the application program content, and judging whether the APP package name has a risk of triggering a sensitive word or not; analyzing the resource file of the application program content, and judging whether the resource file has an infringement risk or not; the binary code file of the application program content is analyzed, and whether the binary code file has the sensitive word triggering risk and messy code conditions or not is judged; and carrying out integrity risk identification on the qualification file in the metadata related information. According to the method, the accuracy and efficiency of application program auditing of the Apple application store are effectively improved, and the legal risk caused by infringement or improper content is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to a pre-review method, system and device for reviewing Apple App Store. Background Art

[0002] In the context of increasingly fierce competition in the mobile application market, especially global platforms such as Apple's App Store, application developers not only need to face increasingly complex technical challenges and continuous improvement of user experience, but also need to deal with strict review processes. This review process is an important measure to ensure application quality, security and user privacy protection, but it is also a major challenge faced by developers in the process of publishing applications.

[0003] First of all, the App Store review process usually includes multiple links, from the app's metadata, function description, interface design, to the security and compliance of the app code, all of which need to undergo strict review. However, this process can take a lot of time, ranging from days to weeks, and even up to months in some cases. This time uncertainty is a huge challenge for developers because they cannot accurately predict when the app will be online, which in turn affects the product's marketing and user acquisition.

[0004] Secondly, the App Store's review standards are strict and complex, covering multiple aspects, including the app's user experience, function implementation, advertising display, user data usage, etc. Once an app fails to meet these standards, it may be rejected. Once an app is rejected, developers need to make corresponding modifications and resubmit based on the review feedback, which undoubtedly increases the developer's workload and time cost.

[0005] More importantly, before submitting an app, developers currently have no official way to know whether their app will pass review. This means that developers cannot fully estimate the risks during the development process, nor can they make targeted optimizations and adjustments before submission. This uncertainty not only increases the psychological pressure on developers, but also increases the risk of the project.

[0006] In summary, the current review process of mobile application markets such as the App Store is both a necessary safeguard and a major challenge for developers. In order to reduce the risk of developers and improve the efficiency of review, it is necessary to explore and develop a method or tool that can perform pre-review before application submission, helping developers to identify potential problems in advance and optimize them, thereby increasing the probability and efficiency of application passing the review. Summary of the invention

[0007] The object of the present invention is to provide a pre-review method, system and device for Apple App Store review to solve at least one of the above-mentioned prior art problems.

[0008] In a first aspect, the present invention provides a pre-review method for Apple App Store review, the method specifically comprising:

[0009] Determine the IPA package and metadata related information to be submitted for review, and conduct a preliminary review of the IPA package based on the metadata related information;

[0010] Decompress the IPA package to obtain the application program content;

[0011] Identify infringement of the ICON files of the application content, compare the image recognition of the historical APP resources in the pre-audit knowledge base and the online APP resources, determine whether the application content is suspected of ICON infringement, and obtain the first analysis result;

[0012] Analyze the APP package name of the application content to determine whether the APP package name has a risk of triggering sensitive words, and obtain a second analysis result;

[0013] Analyzing the resource files of the application content to determine whether the resource files have infringement risks, and obtaining a third analysis result;

[0014] Analyze the binary code file of the application content to determine whether the binary code file has a risk of triggering sensitive words and has garbled characters, and obtain a fourth analysis result;

[0015] Perform integrity risk identification on the qualification documents in the metadata related information to obtain a fifth analysis result;

[0016] The first analysis result, the second analysis result, the third analysis result, the fourth analysis result and the fifth analysis result are summarized to form a preliminary audit report.

[0017] In a second aspect, the present invention provides a pre-review system for Apple App Store review, the system specifically comprising:

[0018] A preliminary review module, used to determine the IPA package and metadata related information to be submitted for review, and conduct a preliminary review of the IPA package based on the metadata related information;

[0019] A decompression operation module, used to decompress the IPA package to obtain application content;

[0020] The first analysis module is used to identify infringement of the ICON file of the application content, compare the image recognition of the historical APP resources and online APP resources in the pre-audit knowledge base, determine whether the application content is suspected of ICON infringement, and obtain the first analysis result;

[0021] A second analysis module is used to analyze the APP package name of the application content, determine whether the APP package name has the risk of triggering sensitive words, and obtain a second analysis result;

[0022] A third analysis module is used to analyze the resource files of the application content, determine whether the resource files have infringement risks, and obtain a third analysis result;

[0023] A fourth analysis module is used to analyze the binary code file of the application content, determine whether the binary code file has a risk of triggering sensitive words and has garbled characters, and obtain a fourth analysis result;

[0024] A fifth analysis module, configured to identify integrity risks of the qualification documents in the metadata related information to obtain a fifth analysis result;

[0025] The report output module is used to summarize the first analysis result, the second analysis result, the third analysis result, the fourth analysis result and the fifth analysis result to form a preliminary audit report.

[0026] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor and a computer program stored in the memory, and when the computer program is executed on the processor, it implements the pre-review method for Apple App Store review as described in any of the above methods.

[0027] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a pre-review method for Apple App Store review as described in any one of the above methods.

[0028] Compared with the prior art, the present invention has at least one of the following technical effects:

[0029] 1. Comprehensively evaluate and identify various potential risks in the Apple App Store mobile application review process, through in-depth analysis of the application package (IPA), metadata review, and strict inspection of in-app resources to ensure that the application complies with current copyright and sensitive content policies.

[0030] 2. Effectively improve the accuracy and efficiency of Apple App Store application review, reduce legal risks caused by infringement or inappropriate content, and thus protect the rights and interests of developers and platforms.

[0031] 3. Before submitting an App Store application for review, developers should check the pre-review report and modification suggestions provided by the pre-review system, make corrections to their APP, and then submit it to the App Store for review, so as to minimize the risk of review rejection and improve review efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1 It is a flowchart of a pre-review method for Apple App Store review provided by an embodiment of the present invention;

[0034] Figure 2 It is a structural diagram of a pre-review system for Apple App Store review provided by an embodiment of the present invention;

[0035] Figure 3 It is a structural schematic diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0037] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0038] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0039] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0040] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0041] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0042] In the embodiment of the present application, the execution subject of the process includes a terminal device, which includes but is not limited to: a server, a computer, a smart phone, a tablet computer, and other devices capable of executing the method disclosed in the present application. Figure 1 A schematic flow chart of a pre-review method for Apple App Store review disclosed in an embodiment of the present invention is shown, and is described in detail as follows:

[0043] S101, determining the IPA package to be submitted for review and metadata-related information, and performing a preliminary review of the IPA package based on the metadata-related information.

[0044] In this embodiment, the developer logs in to the pre-review background and uploads the IPA package to be reviewed and metadata-related information. The system obtains basic information such as the version number, build version number, application name, application icon, etc. of the IPA package through metadata information. Based on the acquired IPA package information, the support vector machine classification algorithm is used to preliminarily classify the IPA package to obtain the application type to which the IPA package belongs. Based on the application type and metadata information, the audit items that need to be carried out are determined, including the audit content of application functions, interfaces, content, etc. Based on the determined audit items, the system uses a decision tree algorithm to generate an audit task list and assigns the audit tasks to different auditors. The auditors conduct a detailed review of the IPA package based on the audit task list, and conduct a comprehensive assessment of the application's functions, interfaces, content, etc. through a combination of manual review and automated testing.

[0045] In some embodiments, the preliminary review of the IPA package according to the metadata related information specifically includes:

[0046] Obtaining basic information of the IPA package according to the metadata related information;

[0047] Based on the support vector machine classification algorithm, the IPA package is preliminarily classified according to the basic information of the IPA package to obtain the application type to which the IPA package belongs;

[0048] Determine the audit items of the IPA package according to the application type, classify the audit items using a decision tree algorithm and generate an audit task list;

[0049] According to the audit task list, the application content, application interface and application function of the IPA package are audited for compliance respectively to generate a preliminary audit score.

[0050] In this embodiment, according to the metadata information of the IPA package, the basic information of the application, such as the name, version number, and developer, is obtained as one of the input features of the support vector machine classification algorithm. By decompressing the IPA package, the image resources such as the icon, startup image, and screenshot of the application are obtained, and the visual features such as color, texture, and composition of these images are extracted by image recognition technology as the input features of the classification algorithm. According to the plist configuration file in the IPA package, the device permissions required by the application, such as location permissions, push permissions, etc., are obtained, and these permission information is used as the input features of the classification algorithm. By analyzing the binary executable file of the IPA package, the code-level information such as the third-party library and function call used by the application is obtained, and the keywords and code patterns therein are extracted as the input features of the classification algorithm. According to the description text of the application, the semantic features such as keywords and emotional tendencies are extracted by natural language processing technology as the input features of the classification algorithm. The input features such as the basic information of the application, image visual features, device permissions, code features, and text semantic features obtained above are vectorized to construct a support vector machine classification model. The support vector machine model is trained using an IPA package dataset that has been labeled with application types, and a classifier is obtained that can predict the application type to which it belongs based on the characteristics of the IPA package. The characteristics of the IPA package to be classified are input into the trained support vector machine classifier to obtain the prediction result of the application type to which the IPA package belongs. According to the predicted application type, combined with the needs of specific business scenarios, the IPA package is further processed and distributed. For example, game applications are distributed to the game area, and educational applications are distributed to the education category, etc. Through the continuous collection and classification of IPA packages, sample data is continuously accumulated, and the support vector machine classification model is retrained regularly to improve the accuracy and coverage of classification, and better serve the business needs of the mobile application distribution platform.

[0051] According to the determined audit items, the decision tree algorithm is used to classify the audit items and obtain the attributes and characteristics of the audit items. By analyzing the attributes and characteristics of the audit items, the nodes and branch conditions of the decision tree are obtained. According to the nodes and branch conditions of the decision tree, the depth-first search algorithm is used to traverse the decision tree to obtain the audit tasks corresponding to each leaf node. By analyzing the attributes of the leaf nodes, the specific content and requirements of each audit task are obtained. According to the content and requirements of each audit task, the task allocation algorithm is used to allocate the audit tasks to different auditors to obtain the workload and professional expertise of the auditors. By comprehensively considering the workload and professional expertise of the auditors, the optimal task allocation plan is determined to balance the workload of each auditor and match the audit tasks with the professional expertise of the auditors. According to the task allocation plan, the task scheduling algorithm is used to generate an audit task list for each auditor to obtain the priority and deadline of the audit task. By reasonably arranging the execution order and time of the audit tasks, the optimal task scheduling plan is determined so that the audit tasks can be completed on time and with quality. According to the audit results of the auditors, the quality assessment algorithm is used to evaluate the audit results to obtain the accuracy and completeness of the audit results. By analyzing the quality indicators of the audit results, we can determine whether the audit work meets the quality requirements and optimize and improve the audit process. Based on the quality assessment results, we use feedback improvement algorithms to optimize the audit process and obtain the bottlenecks and problems of the audit process. By analyzing the defects and deficiencies of the audit process, we can determine optimization measures and improvement plans to continuously improve the efficiency and quality of the audit work.

[0052] During the review process, natural language processing algorithms are used to analyze the application content, and key information of the application content is extracted through technologies such as word segmentation, part-of-speech tagging, and named entity recognition. According to the application content, the word segmentation algorithm is used to segment the text and obtain a list of words in the text to provide basic data for subsequent text analysis. The word list after word segmentation is tagged with part-of-speech technology to obtain the part-of-speech information of each word in preparation for extracting key information. Named entity recognition technology is used to identify named entities such as names of people, places, and institutions in the text to obtain important entity information in the application content. Based on the results of part-of-speech tagging and named entity recognition, keywords of the application content are extracted through keyword extraction algorithms to determine the theme and core content of the text. Sentiment analysis technology is used to analyze the sentiment tendency of the application content, determine the sentiment attributes of the content, and obtain the sentiment tendency of the application content, such as positive, negative, or neutral. The text classification algorithm is used to classify the application content in combination with keywords and sentiment analysis results to determine the category to which the content belongs, such as news, entertainment, sports, etc. Based on the text analysis results, text summarization technology is used to automatically generate a summary of the application content, obtain a brief overview of the content, and quickly understand the key points of the content. Through the text analysis of the above steps, the key information, emotional tendency, category and content summary of the application content are obtained, providing a comprehensive content understanding and evaluation basis for application review.

[0053] Based on the extracted key information, the Naive Bayes classification algorithm is used to determine whether the application content is compliant and whether it contains banned words, sensitive content, etc. According to the business needs of the application, determine the types of illegal content that need to be judged, such as pornography, violence, political sensitivity, etc., as the categories of the naive Bayes classifier. Use crawler technology to obtain a large amount of normal application content and illegal application content data, build training data sets and test data sets, and convert the text content of the training set and test set into digital feature vectors that can be processed by computers through text preprocessing operations such as word segmentation and stop word removal. Based on the training data set, train the naive Bayes classification model to obtain the prior probability of each category and the conditional probability that each feature belongs to a certain category. Obtain the application content to be detected and convert it into a feature vector through the same text preprocessing operation as the training stage. Use the trained naive Bayes classification model to calculate the posterior probability that the content to be detected belongs to each category. By comparing the size of the posterior probability, determine the category to which the content to be detected is most likely to belong, that is, whether it belongs to illegal content. If the application content is judged to be illegal, obtain the illegal category and illegal content fragment, prompt the user or perform corresponding restriction operations, continue to collect user feedback and review results, add the wrongly judged content to the training set, retrain the model regularly, and continuously improve the accuracy and coverage of classification.

[0054] For the review of the application interface, the image segmentation algorithm is used to segment the screenshot of the application interface into different areas, and the text information in the interface is extracted through optical character recognition technology. Based on the screenshot of the application interface, the image segmentation algorithm is used to segment the screenshot to obtain different areas of the application interface. The images of each area after segmentation are obtained, and the text is extracted from each area image through optical character recognition technology to obtain the text information of each area. Based on the extracted text information, it is determined whether the application interface contains illegal or inappropriate content and whether the application has passed the review. The predefined illegal content keyword library is used to obtain the text information of the application interface, and the keyword matching algorithm is used to detect whether there is illegal content to obtain the illegal content detection result. According to the interface layout and visual element analysis algorithm, the layout structure and visual design style of the application interface are obtained to determine whether it meets the design specifications and user experience requirements, and the interface design evaluation result is obtained. Through the machine learning model, the illegal content detection results and interface design evaluation results are combined to comprehensively score the application interface and determine the final review result of the application. According to the function and purpose of the application, the audit rules and knowledge base of specific fields are used to review the professional content of the application interface and obtain the professional audit result. Get the user interaction process of the application, use the user interaction experience evaluation algorithm to judge the usability and user-friendliness of the application, and get the user experience evaluation result. Combine the review results of the above dimensions, calculate the comprehensive score of the application through a weighted algorithm, determine whether the application has passed the final review, and obtain the review decision result.

[0055] Based on the extracted text information, the support vector machine classification algorithm is used to determine whether the interface content is compliant. Based on the text information extracted from the interface, the word segmentation algorithm is used to segment the text to obtain the text feature vector after word segmentation. By analyzing the compliant and non-compliant text sample data, the text feature vector is obtained, and the feature vector is labeled to determine the category label of each sample. Using the support vector machine classification algorithm, the text feature vector with the labeled category is input into the algorithm model for training to obtain a trained support vector machine classification model. The interface text information to be judged is extracted and processed by the word segmentation algorithm to obtain the text feature vector. The text feature vector is input into the trained support vector machine classification model, and the category to which the text feature vector belongs is determined through model prediction to obtain the judgment result of whether the interface content is compliant. According to the judgment result, the compliance conclusion of the interface content is obtained. If it is determined to be compliant with the rules, it is allowed to be released. If it is determined to be non-compliant with the rules, it is handled accordingly.

[0056] In terms of application function review, the application is functionally tested through automated testing tools, and the decision tree algorithm is used to generate test cases to conduct comprehensive coverage tests on various functions of the application. According to the functional requirements document of the application, the various functional points of the application are obtained, and the hierarchical structure diagram of the functional points is obtained by analyzing the logical relationship between the functional points. The decision tree algorithm is used to take the hierarchical structure diagram of the functional points as the input of the decision tree, and the nodes of the decision tree are recursively traversed to obtain a set of test cases covering all functional points. According to the generated test cases, automated testing tools such as Appium and Selenium are used to convert the test cases into automated test scripts, and the application functions are fully tested by executing the automated test scripts. During the test execution process, the execution status and results of various functions of the application are obtained, and by analyzing the test execution log and test report, it is judged whether the application functions meet expectations and the conclusion of the application function test is obtained. According to the conclusion of the functional test, defect management tools such as JIRA and Bugzilla are used to record and track application function defects, and the defect repair sequence and repair plan are determined according to the severity and priority of the defects. After the defect is repaired, re-execute the automated test script to obtain the execution status of the repaired application function. By comparing the test results before and after the repair, it is determined whether the defect has been effectively repaired to ensure the correctness and stability of the application function.

[0057] According to the test results, the logistic regression algorithm is used to evaluate the integrity, stability and performance of the application functions. According to the test results of the application functions, various indicator data reflecting the integrity, stability and performance are obtained, such as function coverage, crash rate, response time, etc. The obtained indicator data is preprocessed and converted into an input format suitable for the logistic regression algorithm, and missing values ​​and outliers are processed to obtain a normalized data set. The processed data set is modeled using the logistic regression algorithm, and appropriate hyperparameters such as regularization coefficient and number of iterations are set to train a logistic regression model that can evaluate the quality of application functions. The trained logistic regression model is applied to the test data to predict the integrity, stability and performance of the application functions and obtain the corresponding evaluation results. According to the prediction results of the logistic regression model, combined with business requirements and quality standards, it is judged whether the application functions meet the requirements in terms of integrity, stability and performance, and whether further optimization is needed. By analyzing the coefficients and feature importance of the logistic regression model, the factors that have a greater impact on the quality of application functions, such as specific functional modules and code defects, are identified to provide guidance for subsequent optimization work. According to the evaluation results of the logistic regression model and the key influencing factors identified, we formulate targeted optimization plans, such as improving functions, fixing defects, optimizing performance, etc., and implement them in subsequent versions to improve the overall quality of application functions. Through continuous testing and evaluation, we continuously iterate and update the logistic regression model to adapt to the changes and optimization of application functions, ensure the accuracy and practicality of the model, and provide strong support for the quality evaluation of application functions.

[0058] The comprehensive score of the application is calculated by using a weighted average algorithm based on the review results of the application content, interface, and functions. The content score, interface score, and function score of the application are obtained, which are recorded as score_content, score_ui, and score_func, respectively. According to the importance of the application score, the weights of the three dimensions of content, interface, and function are determined, which are recorded as weight_content, weight_ui, and weight_func, respectively. The weighted average formula score_weighted = score_content*weight_content+score_ui*weight_ui+score_func*weight_func is used to obtain the weighted comprehensive score score_weighted of the application. Determine whether score_weighted is greater than or equal to 60 points. If so, the application is considered to have passed the comprehensive review. Otherwise, the application is considered to have failed the comprehensive review. The final review result of the application is obtained. If the application passes the content review, interface review, function review, and comprehensive review, the application is ultimately passed. Otherwise, the application is ultimately failed.

[0059] Based on the comprehensive score and the preset threshold, the support vector machine classification algorithm is used to determine whether the application has passed the review. For applications that have not passed the review, the system automatically generates a review feedback report, which lists in detail the reasons for failure and the content that needs to be modified. Developers modify and optimize the application based on the review feedback report, and the modified IPA package can be resubmitted for review.

[0060] Based on the updated IPA package information, the system uses an incremental learning algorithm to update the audit model and continuously optimize the audit process and audit strategy. Based on the updated IPA package information, new application feature data is obtained, including application name, version number, developer information, function description, etc. Data preprocessing technology is used to clean, normalize and extract features of the acquired new application feature data to obtain a standardized feature vector. Through the incremental learning algorithm, the new standardized feature vector is input into the existing audit model, and the weights and parameters of the model are updated and optimized to obtain an updated audit model. Evaluation methods such as cross-validation are used to evaluate the performance of the updated audit model, including indicators such as accuracy, recall rate, and F1 value, to determine the effectiveness of the model update. Based on the performance evaluation results, determine whether the audit strategy needs to be adjusted, such as modifying the audit rules and thresholds, to improve the accuracy and efficiency of the audit. The updated audit model and optimized audit strategy are applied to the actual application audit process, and the newly submitted IPA package is automatically audited to obtain the audit results. Through manual spot checks and user feedback, we continuously monitor the effects of updated audit models and strategies, identify possible problems or optimization space, and provide data support for the next incremental learning. We continuously iterate the above steps, and use incremental learning algorithms to continuously optimize audit models and strategies based on new IPA package data and feedback information to ensure that the quality and efficiency of application audits continue to improve and better serve application developers and users. Through iterative optimization of machine learning algorithms, we improve the efficiency and accuracy of application audits and provide developers with high-quality audit services.

[0061] In this embodiment, for example, the support vector machine classification algorithm is used to preliminarily classify the IPA package, and the application is divided into 10 categories such as games, social networking, and tools, and the classification accuracy rate reaches more than 95%. The decision tree algorithm is used to generate an audit task list, for example, a list containing 50 audit tasks is generated, covering application functions, interfaces, content, etc., and the rationality of task allocation reaches 90%. The naive Bayes classification algorithm is used to determine whether the application content is compliant. Among 1,000 application samples, 100 applications containing banned words or sensitive content are correctly identified, and the recognition accuracy rate reaches 90%. The image segmentation algorithm is used to divide the application interface screenshot into different areas, and a screenshot of an interface containing 5 functional modules is accurately divided into 5 areas, and the segmentation accuracy rate reaches 95%. The support vector machine classification algorithm is used to determine whether the interface content is compliant. Among 500 interface samples, 30 interfaces containing inappropriate content are correctly identified, and the recognition accuracy rate reaches 92%. The decision tree algorithm is used to generate test cases. For an application with 20 functional modules, 100 test cases covering all functions are generated, and the coverage rate of the generated test cases reaches 100%. The logistic regression algorithm is used to evaluate the completeness, stability and performance of the application functions. After functional testing of 100 applications, the algorithm evaluation shows that the average functional completeness of the application is 95%, the stability is 98%, and the excellent performance rate is 90%. The weighted average algorithm is used to calculate the comprehensive score of the application. The content score of an application is 95 points, the interface score is 90 points, and the function score is 98 points. The weight coefficients are set to 4, 2, and 4 respectively. The comprehensive score of the application is (95×4+90×2+98×4)=92 points. The support vector machine classification algorithm is used to determine whether the application has passed the review. For example, the comprehensive score threshold is set to 80 points. Among the 1,000 application samples, 800 applications are correctly judged to have passed the review and 200 applications have not passed the review. The accuracy rate of judgment reaches 95%. An incremental learning algorithm is used to update the audit model. In the audit data for three consecutive months, 1,000 new samples are added each month. The model is continuously optimized through incremental learning, which increases the audit accuracy from the initial 90% to more than 95%.

[0062] S102, decompressing the IPA package to obtain application content.

[0063] In this embodiment, the pre-audit system receives the task and decompresses the IPA file. After receiving the task, the pre-audit system first decompresses the IPA file. The IPA file is decompressed using the ZIP decompression algorithm to obtain the executable file, resource file, and configuration file of the application.

[0064] In some embodiments, step S102 further includes:

[0065] Analyze the executable file using static code analysis technology to obtain the code structure of the executable file, analyze the code structure of the executable file according to an abstract syntax tree analysis algorithm to obtain application code logic relationship information, and determine whether there is a code logic error according to the application code logic relationship information;

[0066] Using a resource file parsing algorithm to parse the resource file to obtain application resource information;

[0067] Using a configuration file parsing algorithm to parse the configuration file to obtain application configuration information;

[0068] Analyze and identify the application resource information and the application configuration information through a content audit algorithm to obtain a content audit result;

[0069] Analyzing and identifying the application resource information and the application configuration information through a violation video image recognition model to obtain a security judgment result;

[0070] Based on a weighted scoring algorithm, the content review results and the security judgment results are weighted and scored to obtain a comprehensive score for the application.

[0071] In this embodiment, static code analysis technology is used to analyze the application executable file obtained by decompression. Specifically, according to a given executable file, decompilation technology is used to obtain the source code or intermediate code representation of the application. According to the results of static code analysis, it is judged whether the application contains malicious code or illegal behavior. A rule-based malicious code detection algorithm is used to match and analyze the code of the application according to a predefined malicious code feature library. If there is a matching malicious code feature, it is determined that the application has malicious behavior. According to the results of malicious code detection, the security of the application is determined. If there is no malicious code in the application, it is considered safe; if there is malicious code, it is considered unsafe. According to the results of the security judgment of the application, the resource files and configuration files of the application are obtained.

[0072] The code structure of the executable file is analyzed by the abstract syntax tree analysis algorithm to obtain information such as the code logic and call relationship of the application. Specifically, by performing lexical analysis on the obtained source code or intermediate code, basic units such as identifiers, keywords, and literals used in the program are obtained. According to the results of the lexical analysis, the syntax analysis technology is used to determine whether the syntax structure of the source code conforms to the syntax rules of the programming language, and the abstract syntax tree representation of the program is obtained. By traversing the obtained abstract syntax tree, the attribute information of each node in the tree is obtained, including statement type, operator, operand, etc., to determine the hierarchical relationship and logical relationship between different statements. According to the node information in the abstract syntax tree, the symbolic execution technology is used to obtain the execution conditions and results of different program paths and determine the code logic of the application. By analyzing the function call node in the abstract syntax tree, the function name, parameter type, return value type, etc. are obtained to determine the call relationship between different functions in the application. According to the code logic and call relationship information obtained by analysis, the structure diagram and flow chart of the application are generated by visualization technology to intuitively display the organizational structure and execution process of the code and obtain a comprehensive understanding of the application.

[0073] The resource files of the application are parsed by the resource file parsing algorithm to obtain the resource information such as pictures, audio, and video used by the application. Specifically, according to the installation package file of the application, the installation package is decompressed by the decompression algorithm to obtain the resource files of the application. The decompressed folder is scanned by the file scanning algorithm to obtain a list of all files in the resource folder. According to the file suffix in the file list, the file type judgment algorithm is used to judge the type of each file to obtain a list of different types of resource files such as pictures, audio, and video. Different types of resource files are parsed by the resource file parsing algorithm to obtain metadata information of the resource files, such as resolution, encoding format, duration, etc. According to the metadata information of the resource files, the resource classification algorithm is used to classify the resource files to obtain resource file sets of different categories, such as high-definition pictures, ordinary pictures, high-quality audio, ordinary audio, etc. The code of the application is analyzed by the resource usage analysis algorithm to obtain the calling situation of the resource files in the application, and the usage frequency and usage scenario of each resource file in the application are judged. According to the classification results and usage of the resource files, the resource optimization algorithm is used to optimize the resource files, such as compressing pictures, transcoding audio and video, etc., to obtain optimized resource files. The optimized resource files are repackaged into the application installation package through the resource packaging algorithm to obtain a resource-optimized application installation package.

[0074] The configuration file of the application is parsed by the configuration file parsing algorithm to obtain the permission configuration, third-party library usage and other information of the application. Specifically, the permission configuration information and third-party library usage information in the configuration file are obtained by reading the configuration file of the application. According to the permission configuration information in the configuration file, the permissions required by the application are determined, such as read and write file permissions, network access permissions, etc. The string matching algorithm is used to find the configuration items related to the third-party library in the configuration file to obtain the list of third-party libraries used by the application. According to the list of third-party libraries, the functions and usage methods of each third-party library are obtained by querying the official documents or public API documents of the third-party library. The permission configuration information and the third-party library usage information are combined to determine the functions and potential security risks of the application. According to the judgment results, the security level of the application is determined and a security report is generated. By comparing the configuration files of different versions, the changes in the permission configuration and the use of third-party libraries during the iteration process of the application version are obtained. The changes are combined with the version update log of the application to determine the functional changes and potential security risk changes of each version update. According to the security level and version change, the overall security status of the application is obtained, and corresponding security recommendations are provided. The visualization technology is used to generate statistical charts of permission configuration and third-party library usage, which is convenient for intuitive analysis of the configuration of the application.

[0075] According to the resource information and configuration information obtained through analysis, the resource content of the application is reviewed by a machine learning-based content review algorithm. Specifically, according to the resource information and configuration information obtained through analysis, the text, image, video and other resource content of the application are obtained as the input data of the content review algorithm. Natural language processing technology is used to perform preprocessing such as word segmentation, part-of-speech tagging, and named entity recognition on text resources to obtain a structured representation of the text, which is convenient for subsequent content review. Computer vision technology is used to perform target detection, scene recognition, text extraction and other analyses on image and video resources to obtain semantic information of images and videos, providing richer judgment basis for content review. According to business needs and application scenarios, a feature vector for content review is constructed, including keywords, sentiment tendencies, topic classifications, etc. of the text, as well as features such as objects, scenes, and texts of images and videos, to form a complete content representation. Supervised learning algorithms such as support vector machines, decision trees, and deep neural networks are used to train the content review model, and the mapping relationship between different feature combinations and review results is learned through labeled positive and negative sample data. The resource content of the application is input into the trained content review model to obtain the content review results and determine whether it contains sensitive, illegal, or inappropriate content. Based on the content review results, filter, block or replace non-compliant resource content to ensure that the content presented to users by the application complies with the requirements of laws, regulations and platform policies. Continuously collect user feedback and manual review results, and continuously optimize and update the content review model through active learning and incremental learning methods to improve the accuracy and efficiency of the review and adapt to changing business needs and content formats. Regularly evaluate the performance indicators of the content review algorithm, such as accuracy, recall rate, false positive rate, etc., and adjust the algorithm selection and parameter configuration in a timely manner according to business development and technological progress to ensure the effectiveness and stability of content review. Integrate the content review results with other business processes of the application, such as user management, content recommendation, social interaction, etc., to form a complete content governance closed loop, providing a solid guarantee for the healthy development of the application.

[0076] Through the trained pornographic image recognition model, violent and terrorist audio and video recognition model, etc., the image, audio, video and other resources of the application are reviewed for content to determine whether there is any illegal content. Based on the image, audio, video and other resources in the application, the trained pornographic image recognition model is used to review the content of the image, obtain the pornographic degree score of the image, and determine whether the image contains pornographic content by setting a threshold. Based on the audio resources in the application, the trained violent and terrorist audio recognition model is used to review the audio content, obtain the violent and terrorist degree score of the audio, and determine whether the audio contains violent and terrorist content by setting a threshold. Based on the video resources in the application, the trained violent and terrorist video recognition model is used to review the video content, obtain the violent and terrorist degree score of the video, and determine whether the video contains violent and terrorist content by setting a threshold. Based on the review results of the image, audio and video, a comprehensive judgment strategy is adopted to obtain the overall violation degree of the application, and a comprehensive threshold is set to determine whether the application contains any illegal content. Based on the judgment results of the illegal content of the application, corresponding processing measures are adopted to warn, restrict functions or remove the application with illegal content, so as to obtain a clean and compliant application environment and ensure the user experience.

[0077] Based on the results of the content audit and the results of the application's security judgment, the compliance of the application is comprehensively evaluated. A weighted scoring algorithm is used to weight the security and content compliance of the application to obtain a comprehensive score for the application. If the comprehensive score exceeds the preset compliance threshold, the application is judged to be compliant; if the comprehensive score does not reach the compliance threshold, the application is judged to be non-compliant. Based on the compliance assessment results of the application, the final result of the pre-audit is output. If the application is compliant, the pre-audit passes; if the application is non-compliant, the pre-audit fails, and a detailed audit result report is returned, indicating the specific problems in the application, such as malicious code, illegal content, etc., so that the developer can make corrections.

[0078] In this embodiment, for example, an IPA file of size 100MB is decompressed by a ZIP decompression algorithm to obtain a 50MB application executable file, a 30MB resource file, and a 20MB configuration file. The executable file of the application contains 10,000 lines of code. Through abstract syntax tree analysis, it is found that there are 500 lines of suspicious code that match the malicious code features. The predefined malicious code feature library contains 1,000 features. Through rule matching, it is found that there are 5 malicious code features in the application, so it is determined that the application has malicious behavior. The application contains 100 pictures, 10 audio files, and 5 video files. The relevant information of these resources is extracted by the resource file parsing algorithm. 20 sensitive permissions are defined in the configuration file of the application, and 10 third-party libraries are referenced. This information is extracted by the configuration file parsing algorithm. 5 of the 100 pictures of the application are identified as pornographic images, 1 of the 10 audio files is identified as violent and terrorist audio, and 2 of the 5 video files are identified as illegal videos. The app's security score was 60 points, and its content compliance score was 80 points. Using a weighted scoring algorithm, the overall score was 68 points, calculated with weights of 6 and 4, which was lower than the preset compliance threshold of 75 points. Therefore, the app was judged to be non-compliant. The audit result report output by the pre-audit system showed that the app had 3 malicious code features, 5 pornographic images, and 1 violent and terrorist audio, so it failed the pre-audit. The report lists the specific information of these issues in detail for developers to refer to and rectify.

[0079] S103, identifying infringement of the ICON file of the application content, comparing the image recognition of the historical APP resources and online APP resources in the pre-audit knowledge base, determining whether the application content is suspected of ICON infringement, and obtaining a first analysis result.

[0080] In this embodiment, the ICON is identified for infringement, and the image recognition is compared between the historical APP resources in the pre-audit knowledge base and the online APP resources to draw a conclusion on whether there is infringement.

[0081] In some embodiments, in the above step S103, the infringement identification of the ICON file of the application content is performed, and the image recognition degree comparison is performed through the historical APP resources of the pre-audit knowledge base and the online APP resources to determine whether the application content is suspected of ICON infringement, specifically including:

[0082] Obtaining the ICON file of the application content, and extracting the MD5 feature value of the ICON file;

[0083] According to the MD5 characteristic value of the ICON file, detect whether there are historical APP resources or online APP resources with the same MD5 characteristic value in the pre-audit knowledge base;

[0084] If it exists, it is determined that there is suspected ICON infringement. Otherwise, the scale-invariant feature transformation algorithm is used to compare the similarity of the ICON file with each copyrighted image in the pre-review knowledge base to obtain a similarity score.

[0085] In this embodiment, the ICON file MD5 is used to search whether there is the same MD5 in the knowledge base. If so, it is considered as infringement. The copyright material library in the knowledge base is traversed, and image recognition is performed in the ICON picture. If the similarity exceeds 60%, it is considered as infringement. The ICON file of the APP to be detected is obtained, its MD5 feature value is extracted, and the historical APP resources with the same MD5 value are searched in the pre-review knowledge base. If so, it is judged that the ICON of the APP is suspected of infringement, and there is no need for subsequent image similarity comparison.

[0086] If the MD5 feature value of the ICON file does not exist in the knowledge base, the copyright material library in the pre-audit knowledge base is traversed, and the scale-invariant feature transformation algorithm is used to extract the feature points of the ICON to be detected and the pictures in the copyright library. The nearest neighbor distance ratio matching method is used to calculate the number of feature point matches of the two pictures. According to the ratio of the number of matching points to the total number of feature points, the similarity of the two pictures is obtained. According to the MD5 feature value of the ICON file, the knowledge base is queried. If it does not exist, the copyright material library in the pre-audit knowledge base is obtained to prepare for similarity comparison. The scale-invariant feature transformation algorithm (SIFT algorithm) is used to extract features of the ICON picture to be detected to obtain the feature point set of the picture. By traversing each picture in the copyright material library, the SIFT algorithm is used to extract the feature point set of each picture, and the feature point data of all pictures in the copyright library are obtained. For the feature point set of the ICON to be detected, the nearest neighbor distance ratio matching method is used to compare one by one with the feature point set of each picture in the copyright library, and the Euclidean distance between the feature points is calculated to determine whether the two feature points match. According to the feature point matching results, the number of matching points between the ICON to be detected and each image in the copyright library is counted, and the total number of feature points of each is obtained. By calculating the ratio of the number of matching points to the total number of feature points, the similarity score between the ICON to be detected and each image in the copyright library is obtained. According to the preset similarity threshold, it is judged whether the ICON to be detected is similar to a certain image in the copyright library. If the similarity score exceeds the threshold, it is considered to infringe the copyright of the image, otherwise it is regarded as an original ICON. If it is judged to be an infringing image, the MD5 feature value of the ICON is added to the knowledge base and marked as infringing. At the same time, the copyright ownership information of similar images is obtained to prepare for the subsequent copyright protection process. If it is judged to be an original image, the MD5 feature value of the ICON is added to the knowledge base and marked as original to provide support for subsequent quick query and comparison.

[0087] According to the calculated similarity, determine whether the ICON to be detected is suspected of infringement. If the similarity exceeds 60%, the ICON is determined to be suspected of infringement, marked as a suspected infringing image, and the copyright holder's information is recorded. For the suspected infringing ICON image, the histogram intersection method is used to further verify its similarity with the copyright image, extract the HSV color histogram of the two images, and calculate the overlap of the two histograms. If the overlap exceeds 80%, the ICON is finally determined to be infringing and removed from the APP resources. For the ICON that is finally determined to be infringing, update the pre-review knowledge base, enter its MD5 feature value and copyright holder information into the knowledge base, and form a new historical APP resource for subsequent rapid infringement judgment. At the same time, the information of the infringing APP is fed back to the copyright holder to assist it in safeguarding its rights. Through the above-mentioned infringement identification method based on MD5 matching and image similarity analysis, a complete ICON infringement detection process is formed, which effectively identifies infringing images in the APP and safeguards the rights and interests of the copyright holder.

[0088] For example, extract the ICON file of an APP and get its MD5 value as a1b2c3d4e5f6g7h8i9. Search in the knowledge base containing 10,000 historical APP resources and find the same MD5 value. Then judge that the ICON of the APP is suspected of infringement, and no subsequent image similarity comparison is required. If the MD5 feature value of the ICON file does not exist in the knowledge base, traverse the copyright material library in the pre-review knowledge base, use the scale-invariant feature transformation algorithm to extract the feature points of the ICON to be detected and the picture in the copyright library, calculate the number of feature point matches of the two pictures by the nearest neighbor distance ratio matching method, and get the similarity of the two pictures according to the ratio of the number of matching points to the total number of feature points. Extract 200 feature points of the ICON to be detected and match them with the feature points of a picture in the copyright library, and get 140 matching points. The similarity of the two pictures is 70%. According to the calculated similarity, judge whether the ICON to be detected is suspected of infringement. If the similarity exceeds 60%, the ICON is determined to be suspected of infringement, and it is marked as a suspected infringing picture, and the copyright holder information is recorded. The similarity between an ICON image and an image in the copyright library is 75%, which exceeds the threshold of 60%. It is marked as suspected infringement and the copyright is recorded as belonging to XX Company. For ICON images suspected of infringement, the histogram intersection method is used to further verify their similarity with the copyright image, extract the HSV color histograms of the two images, and calculate the overlap of the two histograms. If the overlap exceeds 80%, the ICON is finally determined to be infringing and is removed from the APP resources. The HSV histogram overlap between an ICON suspected of infringement and the copyright image is 90%, which exceeds the threshold of 80%. The ICON is finally determined to be infringing and is deleted from the APP installation package. For ICONs that are finally determined to be infringing, the pre-review knowledge base is updated, and their MD5 feature values ​​and copyright holder information are entered into the knowledge base to form new historical APP resources for subsequent rapid infringement judgments. The MD5 value a1b2c3d4e5f6g7h8i9 of an infringing ICON and the copyright belonging to XX company are added to the knowledge base, and expanded to include 10,001 historical APP resources to improve the efficiency of subsequent infringement judgments. At the same time, the information of the infringing APP is fed back to the copyright owner to assist them in protecting their rights. The name, developer and other information of the APP containing the infringing ICON are informed to XX company, and it cooperates with it to take rights protection measures such as removal and prosecution. Through the above-mentioned infringement identification method based on MD5 matching and image similarity analysis, a complete ICON infringement detection process is formed, which effectively identifies infringing images in the APP and protects the rights and interests of the copyright owner.

[0089] S104: Analyze the APP package name of the application content to determine whether the APP package name has a risk of triggering sensitive words, and obtain a second analysis result.

[0090] In this embodiment, the package name of the APP is analyzed to see whether it triggers the risk of sensitive words. The package name is a string of characters. The string is first segmented, and for each segmented word, the sensitive word is searched one by one in the knowledge base. The search results are sorted according to the preset sensitive word risk level, and the sensitive word risk assessment is output.

[0091] In some embodiments, in the above step S104, analyzing the APP package name of the application content to determine whether the APP package name has a risk of triggering sensitive words specifically includes:

[0092] Using the Jieba word segmentation algorithm to perform word segmentation processing on the APP package name of the application content to obtain a word segmentation result;

[0093] Based on the word segmentation results, an AC automaton algorithm is used to perform search and matching one by one in a pre-built sensitive word knowledge base to obtain sensitive word information of each word segmentation hit;

[0094] According to the sensitive word information of each segmentation, the sensitive word risk score of each segmentation is calculated to obtain a risk score list;

[0095] Based on a preset sensitive word risk level threshold, the risk score of each word segment in the risk score list is divided to determine the risk level of each word segment;

[0096] Based on the weighted average algorithm, a first risk score of the APP package name is obtained by calculating the risk level of each segmentation;

[0097] By comparing a preset first risk level threshold and the first risk score, it is determined whether the APP package name has a risk of triggering sensitive words.

[0098] In this embodiment, the Jieba word segmentation algorithm is used to segment the APP package name string to obtain a series of word segmentation results. According to the pre-built sensitive word knowledge base, the AC automaton algorithm is used to pre-process the sensitive words in the knowledge base, and the multi-mode matching dictionary tree of the AC automaton is constructed to obtain a data structure for efficiently matching sensitive words in the text. The text content to be detected is obtained, and the text is segmented by the word segmentation algorithm to divide the text into meaningful words to form a word segmentation result sequence, so as to prepare for the subsequent sensitive word matching. The multi-mode matching algorithm based on the AC automaton is used to match the word segmentation result sequence one by one on the previously constructed AC automaton. Through the failure pointer and output link of the AC automaton, it is quickly determined whether each word segmentation hits a sensitive word in the knowledge base. In the matching process, the sensitive word information corresponding to each hit word segmentation is obtained, including the type, level and other attributes of the sensitive word. This information can be customized and expanded according to business needs to meet the sensitive word identification and processing requirements in different scenarios. The matched sensitive word information is associated with the corresponding position in the original text to obtain the specific position, length and other information of each sensitive word in the text. This information can be used for subsequent content review, keyword highlighting and other business functions. The identified sensitive words are processed according to business rules, such as replacing sensitive words with specific characters, filtering content containing sensitive words, and issuing warnings for sensitive words. Through flexible business logic design, different sensitive words can be processed differently. The final processed text content is obtained and returned to the caller or stored for use in subsequent business processes. At the same time, the identified sensitive word information can be counted and analyzed to provide data support for business decision-making and system optimization.

[0099] According to the APP package name string, the Jieba word segmentation algorithm is used to segment it to obtain a series of APP package name segmentation results. Through the word segmentation results, the word list of each APP package name after segmentation is obtained to determine the key words of each APP package name. According to the key words, the TF-IDF algorithm is used to calculate the weight of each key word to obtain the weight vector of the APP package name key words. Through the weight vector, the cosine similarity calculation method is used to calculate the similarity between different APP package names to obtain the similarity matrix between APP package names. According to the similarity matrix, the hierarchical clustering algorithm is used to cluster the APP package names to obtain the clustering results of APP package names in different categories. Through the clustering results, the APP package names in each category are obtained to determine the functions and characteristics of APPs in different categories. According to the APP functions and characteristics, the manual review method is used to determine whether the APPs in each category belong to the same APP to obtain the final APP deduplication results. Through the deduplication results, a unique APP package name list is obtained to determine the final number and types of APPs, providing data support for subsequent APP analysis and application.

[0100] According to the word segmentation results, the AC automaton algorithm is used to search and match one by one in the pre-built sensitive word knowledge base to obtain the sensitive word information of each word segmentation hit. According to the pre-built sensitive word knowledge base, the AC automaton algorithm is used to pre-process the sensitive words in the knowledge base, and the multi-mode matching dictionary tree of the AC automaton is constructed to obtain the data structure for efficiently matching sensitive words in the text. The text content to be detected is obtained, and the text is segmented by the word segmentation algorithm to divide the text into meaningful words to form a word segmentation result sequence to prepare for the subsequent sensitive word matching. The multi-mode matching algorithm based on the AC automaton is used to match the word segmentation result sequence one by one on the previously constructed AC automaton. Through the failure pointer and output link of the AC automaton, it is quickly determined whether each word segmentation hits a sensitive word in the knowledge base. In the matching process, the sensitive word information corresponding to each hit word segmentation is obtained, including the type, level and other attributes of the sensitive word. This information can be customized and expanded according to business needs to meet the requirements of sensitive word identification and processing in different scenarios. The matched sensitive word information is associated with the corresponding position in the original text to obtain the specific position, length and other information of each sensitive word in the text. This information can be used for subsequent business functions such as content review and keyword highlighting. The identified sensitive words are processed according to business rules, such as replacing sensitive words with specific characters, filtering content containing sensitive words, and issuing warnings for sensitive words. Through flexible business logic design, different sensitive words can be processed differently. The final processed text content is obtained and returned to the caller or stored for use in subsequent business processes. At the same time, the identified sensitive word information can be counted and analyzed to provide data support for business decision-making and system optimization.

[0101] By counting the number and weight of sensitive words hit by each segmentation, the sensitive word risk score of each segmentation is calculated to obtain a risk score list. According to the preset sensitive word risk level threshold, the risk score of each segmentation in the risk score list is divided to determine the risk level of each segmentation.

[0102] Based on the risk level information of each segmentation, the weighted average algorithm is used to calculate the risk score of the sensitive words in the entire APP package name to obtain an overall risk score. According to the risk level information of each segmentation, the weighted average algorithm is used to weight the risk level of each segmentation. Among them, the weight of high-risk words is set to 6, the weight of medium-risk words is set to 3, and the weight of low-risk words is set to 1. The weighted segmentation risk score is obtained by multiplying the risk level of each segmentation by the corresponding weight. All weighted segmentation risk scores are accumulated to obtain the overall risk score of the APP package name. According to the length of the APP package name, that is, the number of segmentations, the weighted average is calculated, and the overall risk score is divided by the number of segmentations to obtain the average risk score of the APP package name. Determine the value of the average risk score and determine the risk level of the APP package name. If the average risk score is between 0 and 3, the risk level is low; if it is between 3 and 7, the risk level is medium; if it is between 7 and 10, the risk level is high. Finally, the risk level and average risk score of the APP package name are obtained as the comprehensive assessment result of the risk of sensitive words in the APP package name.

[0103] Compare the overall risk score of the APP package name with the preset risk level threshold to determine whether the APP package name triggers sensitive word risk and give the corresponding risk level assessment result. Sort the risk assessment results, put the APP package names with high risk levels in front, and generate a APP package name sensitive word risk assessment report sorted by risk level as the final output result.

[0104] In this embodiment, for example, the Jieba word segmentation algorithm is used to segment the APP package name "com.example.news_app", and the four word segmentation results of "com", "example", "news", and "app" are obtained. According to the word segmentation results, the AC automaton algorithm is used to search and match one by one in the knowledge base containing 1000 sensitive words, and it is obtained that "example" hits 3 sensitive words, "news" hits 5 sensitive words, and other word segments do not hit sensitive words. By counting the number and weight of sensitive words hit by each word segmentation, it is calculated that the risk score of "com" is 0, the risk score of "example" is 4, the risk score of "news" is 5, and the risk score of "app" is 0. According to the preset sensitive word risk level threshold, such as low risk (0-2), medium risk (2-5), and high risk (above 5), the risk score of each word segmentation in the risk score list is divided, and it is determined that "com" and "app" are low risk, "example" is medium risk, and "news" is high risk. Using the weighted average algorithm, the weights of low, medium, and high risk segmentation words are assigned as 2, 3, and 5 respectively. The sensitive word risk score of the entire APP package name is calculated as (0×2+4×3+5×5+0×2) / 4=4, and the overall risk score is 4. The overall risk score of the APP package name is compared with the preset risk level thresholds, such as low risk (0-5), medium risk (5-5), and high risk (above 5), to determine that the APP package name triggers the sensitive word risk of the medium risk level. The risk assessment results of multiple APP package names are sorted. For example, if the risk score of "com.example1" is 2 and the risk score of "com.example2" is 8, the three APP package names are sorted in the order of 2>4>8 to generate a sensitive word risk assessment report sorted by risk level.

[0105] S105, analyzing the resource files of the application content to determine whether the resource files have infringement risks, and obtaining a third analysis result.

[0106] In this embodiment, the resources in the IPA package are analyzed, such as whether the image resources are infringing, whether the file MD5 is the same, and other risks.

[0107] In some embodiments, in the above step S105, analyzing the resource file of the application content to determine whether the resource file has an infringement risk specifically includes:

[0108] According to the MD5 value corresponding to the resource file of the application content, detecting whether there is a copyright material with the same MD5 characteristic value in the pre-audit knowledge base;

[0109] If the copyrighted material with the same MD5 characteristic value is detected in the pre-audit knowledge base, it is determined that the resource file has an infringement risk;

[0110] If a copyright material with the same MD5 feature value is detected in the pre-audit knowledge base, the hash value similarity between the image resource file of the resource file and each copyright image in the pre-audit knowledge base is calculated by an image hash algorithm to determine whether the image resource file has an infringement risk;

[0111] If no copyright material with the same MD5 feature value is detected in the pre-audit knowledge base, the text similarity between the text resource file of the resource file and the copyright text content in the pre-audit knowledge base is calculated using a text similarity algorithm to determine whether the text resource file has an infringement risk.

[0112] In this embodiment, all resource files in the IPA package, including pictures, texts, audio and video, are traversed to obtain the MD5 value of each resource file. The MD5 value of each resource file obtained in the previous step is searched and compared in the existing knowledge base, which contains a known copyright material library. If the MD5 value of a resource file exists in the copyright material library, it is judged that the resource file has an infringement risk.

[0113] For the image resources in the IPA package, the image hash algorithm is used to calculate the hash value of each image, and then the hash value is compared with the hash value of the image in the copyright material library. If the hash value similarity of the two images exceeds 60%, the image in the IPA package is judged to be suspected of infringement. According to the results of the image hash algorithm comparison in the previous step, the infringement risk level of each image is determined. If the similarity exceeds 85%, the risk level is high; if the similarity is between 60%-85%, the risk level is medium; if the similarity is less than 60%, the risk level is low.

[0114] By using a text similarity algorithm, such as cosine similarity or edit distance algorithm, the text resources in the IPA package are compared with the text in the copyright material library to calculate the similarity between the two. According to the requirements, it is determined to use the cosine similarity algorithm to calculate the similarity between the text resources in the IPA package and the text in the copyright material library. By decompressing the IPA package, the text resource files therein, such as Localizable.strings, InfoPlist.strings, etc., are obtained, and the text content to be compared is extracted. Using text preprocessing technology, the obtained text resources in the IPA package and the text in the copyright material library are segmented, stop words are removed, keywords are extracted, and other operations are performed to obtain a standardized text representation. According to the principle of the cosine similarity algorithm, the preprocessed text resources in the IPA package and the text in the copyright material library are converted into vector representations respectively, each word corresponds to a dimension, and the word frequency is used as the weight of the dimension to obtain the text vector. By calculating the cosine similarity between the text resource vector in the IPA package and each text vector in the copyright material library, the similarity score between them is obtained. Based on the set similarity threshold, determine whether the text resources in the IPA package are highly similar to the text in the copyright material library to determine whether there is suspected infringement. For text resources in the IPA package whose similarity exceeds the threshold, further confirm whether they have indeed infringed the text copyright in the copyright material library through manual review to obtain the final infringement judgment result. Based on the infringement judgment result, take corresponding handling measures, such as removing the IPA application from the shelves, informing the developer to make rectifications, etc., to safeguard the legitimate rights and interests of the copyright material library owner.

[0115] If the similarity exceeds 80%, it is judged that the text resource has an infringement risk. According to the infringement risk level of each resource file obtained in the previous steps, the infringement risk level of the entire IPA package is comprehensively evaluated. If there are one or more high-risk resource files, the overall risk level of the IPA package is high; if there are no high-risk files, but there are one or more medium-risk resource files, the overall risk level of the IPA package is medium; if the risk level of all resource files is low, the overall risk level of the IPA package is low. Different disposal measures are adopted according to the overall infringement risk level of the IPA package. If the risk level is high, it is recommended to directly reject the listing application of the IPA package; if the risk level is medium, it is recommended to require the developer to make rectifications and resubmit for review; if the risk level is low, it can be considered to allow listing, but the infringement risk of the IPA package needs to be continuously monitored after listing.

[0116] For example, the MD5 value of a picture named "logo.png" in the IPA package is calculated to be "a0f6e4c4c2e8c8d8b0f8d8c6a6b4e6d8". The MD5 value of each resource file obtained in the previous step is searched and compared in the existing knowledge base, which contains a known copyright material library. The MD5 value "a0f6e4c4c2e8c8d8b0f8d8c6a6b4e6d8" of "logo.png" is compared with the records in the copyright material library. If the MD5 value exists in the copyright material library, it is determined that the resource file has an infringement risk. For the image resources in the IPA package, the image hash algorithm is used to calculate the hash value of each image, and then the hash value is compared with the hash value of the image in the copyright material library. The hash value of a picture named "banner.jpg" in the IPA package is calculated as "0x7c7f81838587898b8d8f91939597". It is compared with the hash value of a picture in the copyright material library, "0x7c7f81838587898b8d8f91939596". It is found that the similarity between the two is 95%, which exceeds the threshold of 60%. It is determined that the picture in the IPA package is suspected of infringement. According to the results of the image hash algorithm comparison in the previous step, the infringement risk level of each picture is determined. The similarity of "banner.jpg" is 95%, which is more than 85%, so its risk level is high; the similarity of another picture "icon.png" is 75%, which is between 60%-85%, so its risk level is medium; the similarity of the third picture "background.png" is 50%, which is less than 60%, so its risk level is low. Through the text similarity algorithm, such as cosine similarity, the text resources in the IPA package are compared with the text in the copyright material library to calculate the similarity between the two. The cosine similarity between a text "Welcome to the application" in the IPA package and a text "Welcome to the APP" in the copyright material library is calculated to be 92, which exceeds the threshold of 80, and it is judged that the text resource has an infringement risk. According to the infringement risk level of each resource file obtained in the previous steps, the infringement risk level of the entire IPA package is comprehensively evaluated. There are 10 resource files in an IPA package, of which 1 picture has a high risk level, 2 pictures have a medium risk level, 1 text has a medium risk level, and the remaining 6 resource files have low risk levels. The overall risk level of the IPA package is high. Different disposal measures are adopted according to the overall infringement risk level of the IPA package. If the risk level of an IPA package is high, the application for listing of the IPA package will be directly rejected; if the risk level of another IPA package is medium, the developer will be required to make rectifications and resubmit for review; if the risk level of the third IPA package is low, it will be allowed to be listed, but the infringement risk of the IPA package will need to be continuously monitored after listing.

[0117] S106, analyzing the binary code file of the application content to determine whether the binary code file has a risk of triggering sensitive words and has garbled characters, and obtaining a fourth analysis result.

[0118] In this embodiment, the class name, method name, variable name, etc. in the second progress code are analyzed to see whether they trigger the risk of sensitive words, and whether there are a large number of long character strings (garbled code recognition) of non-English word libraries.

[0119] In some embodiments, the above step S106, analyzing the binary code file of the application content to determine whether the binary code file has a risk of triggering sensitive words and has garbled characters, specifically includes:

[0120] Extracting code information from a binary code file of the application content according to a decompilation technique, and outputting the code information to a search file, wherein the code information includes a class name, a method name, a variable name, and a long character string;

[0121] Based on the sensitive word knowledge base in the pre-review knowledge base, searching and matching the search file with each sensitive word in the sensitive word knowledge base to determine a list of sensitive words in the search file;

[0122] Using a support vector machine algorithm to perform risk assessment on each sensitive word in the sensitive word list, and outputting a sensitive word risk assessment result;

[0123] According to the TF-IDF algorithm, the word frequency and inverse document frequency of the code information in the search file are analyzed to determine whether there is a long garbled character string.

[0124] In this embodiment, the class name, method name, variable name, long string, etc. in the binary code file are taken out through decompilation technology and output to a search file. The sensitive word library in the knowledge base is traversed, and the search file in the previous step is searched one by one. If it exists, the risk assessment of the sensitive word is output, including information such as risk level. Decompilation technology is used to extract information such as class name, method name, variable name and long string from the binary code file, and this information is output to a search file. According to the existing sensitive word knowledge base, each sensitive word is traversed, and a search and match is performed in the search file generated in the previous step. If a sensitive word is found in the search file, the risk assessment result of the sensitive word is output, including detailed information such as risk level.

[0125] Risk assessment can be classified using the support vector machine algorithm. According to the context information of sensitive words in the code, feature vectors are extracted, and the support vector machine model is trained to judge the risk level of sensitive words. According to business needs, the sensitive word library involved in risk assessment is determined, and the original code files in the code library are obtained. Natural language processing technology is used to preprocess the code files, including word segmentation and stop word removal, to obtain a standardized representation of the code text. Through context analysis, the context information of each sensitive word in the code is extracted, including the position of the sensitive word, surrounding keywords, code structure, etc., to form a feature vector of the sensitive word. According to business experience and expert knowledge, the risk level of sensitive words is annotated, and the feature vector and the corresponding risk level are used as training data. The support vector machine algorithm is used to train the model using the training data, and a support vector machine model that can judge the risk level of sensitive words is obtained by optimizing the model parameters. For new code files, the feature vector of each sensitive word is obtained through preprocessing and feature extraction. The feature vector of the sensitive word is input into the trained support vector machine model to obtain the risk level prediction result of each sensitive word. Based on the prediction results, we conduct risk assessment on sensitive words in the code files, determine the overall risk level of the code, and generate a risk assessment report. We feed back the risk assessment results to the relevant business departments, conduct further security review and repair of high-risk codes, and continuously optimize and improve the risk assessment model.

[0126] Through the TF-IDF algorithm in statistics, the word frequency and inverse document frequency in the search file are analyzed to find out the long strings that appear frequently in the code and do not exist in the common English word library, and judge them as potential garbled risks. According to the given search file, the TF-IDF algorithm in statistics is used to count the word frequency of each word in the file to obtain the frequency of each word in the file. By calculating the number of documents in which each word appears in the entire file collection, the inverse document frequency of the word is obtained to measure the importance and discrimination of the word. Multiply the word frequency and the inverse document frequency to obtain the TF-IDF value of each word, which reflects the importance and uniqueness of the word in the file. According to the calculated TF-IDF value, the words in the file are sorted to determine the long strings that appear frequently. Using the common English word library, the sorted high-frequency long strings are matched to determine whether they exist in the common English word library. Obtain the high-frequency long strings that are not in the common English word library and mark them as potential garbled risks for subsequent code quality analysis and improvement. By identifying and locating potential garbled code risks, developers can promptly fix garbled code problems in the code, improve the readability and maintainability of the code, and reduce errors and exceptions caused by garbled code. According to the identified garbled code risks, the code is optimized and refactored, and standardized naming and coding standards are adopted to ensure the clarity and consistency of the code. Through continuous code quality monitoring and improvement, high-quality, easy-to-maintain code is obtained, the efficiency and reliability of software development are improved, and strong support is provided for the stable operation of the business.

[0127] You can use the fuzzy comprehensive evaluation method to weight and sum each risk indicator to get the comprehensive risk score of the code, and judge the security level of the code according to the preset threshold. According to the needs of code security audit, determine various risk indicators, including code complexity, code quality, number of vulnerabilities, compliance with security coding standards, etc. Use professional code analysis tools to conduct a comprehensive scan of the target code to obtain the original data of various risk indicators. According to the preset risk indicator weights, the original data of each indicator is weighted and calculated to obtain the weighted risk score. Sum the weighted risk scores to obtain the comprehensive risk score of the code. According to the preset comprehensive risk score threshold, judge the security level of the code, such as safe, low risk, medium risk, and high risk. According to the security level of the code, determine the subsequent audit actions, such as passing the audit, rework and repair, rejection, etc.

[0128] For example, 5 class names, 20 method names, 50 variable names and 10 long character strings were extracted from a binary code file, and these 85 pieces of information were output to a search file. An example of searching for matching sensitive words in a search file: For example, in a knowledge base of 10,000 sensitive words, 3 sensitive words were found in the 85 pieces of information in the search file by traversing. The support vector machine algorithm is used for risk classification, such as extracting an 8-dimensional feature vector of a sensitive word in the code, using a pre-trained support vector machine model for classification, and judging the sensitive word as a high risk level. By analyzing the word frequency and inverse document frequency in the search file, it is found that a string "aX1bY2cZ3" with a length of 20 appears 30 times in the entire code and is not in the common English word library, and is judged as a potential garbled code risk. The fuzzy comprehensive evaluation method is used to obtain the comprehensive risk score of the code, such as the sensitive word risk index of the code is 6, the garbled code risk index is 3, and the maintainability index is 8. If the weights of the indicators are set to 5, 3, and 2, respectively, the comprehensive risk score of the code is 6×5+3×3+8×2=55. Based on the preset threshold of 6, the security level of the code is determined to be medium risk.

[0129] S107, performing integrity risk identification on the qualification file in the metadata related information to obtain a fifth analysis result.

[0130] In this embodiment, based on the five qualification documents required for the review of the game APP, including the operating unit license, the R&D unit license, the ICP, the game version number and the authorization file, the qualification integrity risk is identified by the number of files and the file name. First, the qualification file list of the game APP is obtained through metadata, and then the file name is matched using a regular expression matching algorithm to obtain the existence of each qualification file. Then, a set comparison algorithm is used to compare the obtained qualification file list with the predefined set of necessary qualification files to determine whether the number of qualification files meets the requirements. If the number of qualification files does not meet the requirements, the missing qualification file name is added to the risk identification result. Finally, a logistic regression algorithm is used to comprehensively judge the qualification integrity risk level of the game APP based on the matching and number of qualification files, and a risk identification report is generated.

[0131] In some embodiments, in the above step S107, the integrity risk identification of the qualification file in the metadata related information specifically includes:

[0132] Obtain a list of qualification files according to the metadata-related information, use a regular expression matching algorithm to match the file name of each qualification file in the list of qualification files, determine whether each qualification file exists, and obtain qualification file matching status;

[0133] Compare the qualification document list with a preset set of necessary qualification documents to determine whether the number of qualification documents meets the quantity requirement, and obtain the number of qualification documents;

[0134] Use OCR technology to perform text recognition on the qualification documents, extract key information of the qualification documents, determine whether the key information of each qualification document is complete based on the key information of the qualification documents, and obtain the completeness of the qualification documents;

[0135] Based on the logistic regression algorithm, the integrity risk level of the qualification documents is determined according to the matching status of the qualification documents, the number of the qualification documents and the completeness of the qualification documents.

[0136] In this embodiment, the qualification file list of the game APP is obtained through metadata, and the list contains the names of all qualification files of the game APP. A regular expression matching algorithm is used to match each file name in the qualification file list. The regular expression is designed to match the pattern according to the naming rules and format of the game APP qualification file. According to the regular expression matching result, it is judged whether each qualification file exists. If the file name matches successfully, it means that the qualification file exists; if the match fails, it means that the qualification file is missing. The matching result of the qualification file is obtained, and a dictionary or mapping table is generated, with the file name as the key and the existence as the value. In this way, the existence or non-existence of each qualification file can be clearly indicated. By traversing the matching result dictionary, the existence of the qualification file of the game APP is obtained. The existing file can be marked as "existing" or using the Boolean value true, and the missing file can be marked as "missing" or using the Boolean value false. According to the existence of the qualification file, it is determined whether the qualification of the game APP is complete. If all the required qualification files exist, the qualification of the game APP is complete; if some required qualification files are missing, the qualification of the game APP is incomplete. The integrity result of the game APP qualification can generate an overall report or evaluation result. The report can list the basic information of the game app, the list of qualification documents, the existence of each document, and the final qualification integrity assessment conclusion. According to the assessment results of the game app qualifications, corresponding measures can be taken. For game apps with complete qualifications, subsequent release and operation processes can be carried out; for game apps with incomplete qualifications, developers can be notified to supplement the missing qualification documents, or their release and operation can be restricted.

[0137] Then, a set comparison algorithm is used to compare the obtained qualification document list with the predefined set of necessary qualification documents to determine whether the number of qualification documents meets the requirements. If the number of qualification documents does not meet the requirements, the missing qualification file name is added to the risk identification result. According to the qualification documents submitted by the supplier, a qualification document list is obtained, including business licenses, tax registration certificates, organization code certificates and other documents. A predefined set of necessary qualification documents, including business licenses, tax registration certificates, organization code certificates, etc., is used as a comparison basis. The type of each qualification document is obtained by traversing the qualification document list submitted by the supplier. According to the obtained qualification document type, whether there is a file of this type in the predefined set of necessary qualification documents. If a file of the corresponding type is found in the set of necessary qualification documents, the file is removed from the set of necessary qualification documents. Repeat steps 3-5 until all qualification documents submitted by the supplier are traversed. Determine whether the predefined set of necessary qualification documents is empty. If it is empty, it means that the qualification documents submitted by the supplier meet the requirements; if it is not empty, it means that the qualification documents submitted by the supplier lack some necessary documents. Obtain the judgment result of whether the supplier's qualification documents meet the requirements. Based on the judgment result, determine whether to allow the supplier to carry out subsequent business operations. If the qualification documents meet the requirements, the supplier is allowed to continue; if the qualification documents do not meet the requirements, the supplier is prompted to supplement the missing qualification documents.

[0138] According to the package name and version number of the game APP, the detailed information of the game APP is obtained from the application market, including the APP icon, application name, application introduction, application classification, developer information and other basic information. Using crawler technology, through the URL of the game APP's details page, the user comment data of the game is captured, including user nicknames, comment content, comment time, ratings, etc., to obtain the user comment data set. The obtained basic game information and user comment data are cleaned to remove missing values, duplicate values, outliers, etc., and clean structured data is determined. According to the developer information of the game APP, the developer's industrial and commercial registration information is queried on the industrial and commercial information website to obtain information including company name, registered address, registered capital, legal representative, business scope, etc. Through the classification information of the game APP, it is determined whether the game belongs to the type that requires special qualifications, such as games, finance, medical care, education, etc., and the list of qualification documents required by the game APP is determined. Using OCR technology, the qualification document images submitted by the game APP developer are recognized for text, and the key information of the qualification documents, such as qualification name, issuing authority, validity period, etc., are extracted to obtain structured qualification information data. Match and compare the list of qualification documents required by the game APP with the qualification document information submitted by the developer to determine the matching status of each required qualification and obtain the result of whether each qualification is complete. Based on the qualification matching and comparison results, a logistic regression algorithm is used to train a qualification integrity risk prediction model with the completeness and quantity of qualifications as features to obtain the qualification integrity risk level of the game APP. Based on the output results of the risk prediction model, a qualification risk identification report for the game APP is generated. The report content includes basic game information, developer business information, user comments, completeness of qualifications, integrity risk level, etc., for reference by relevant departments in APP qualification review.

[0139] The risk identification report lists in detail the missing qualification documents and the overall risk level, providing a basis for the review decision of the game app.

[0140] S108, summarizing the first analysis result, the second analysis result, the third analysis result, the fourth analysis result and the fifth analysis result to form a preliminary audit report.

[0141] In this embodiment, based on the above risk identification, a logistic regression model is used to model each risk factor to obtain the weight coefficient of each risk factor. According to the various risk factors obtained by risk identification, the risk factor data is cleaned and converted by a data preprocessing method, and the qualitative indicators are quantified into quantitative indicators to construct a risk factor sample data set. Through correlation analysis and multicollinearity diagnosis, the risk factors with high correlation are removed to obtain the final risk factor set included in the model. A logistic regression model is used, with the occurrence of default events as the dependent variable (with a value of 0 or 1), and the risk factors included in the model as independent variables to construct a logistic regression model. The model parameters are estimated by the maximum likelihood estimation method to obtain the weight coefficient of each risk factor. According to the weight coefficient obtained by the logistic regression model, the degree of influence of each risk factor on the occurrence of default events is determined. The greater the absolute value of the weight coefficient, the greater the impact of the risk factor on the default risk. The ROC curve and AUC value are used to evaluate the predictive ability and discrimination ability of the logistic regression model. By setting different thresholds, the true positive rate and false positive rate of the model at different thresholds are obtained, and the ROC curve is drawn. The AUC value is calculated. The larger the AUC value, the stronger the predictive ability and discrimination ability of the model. Based on the model prediction ability evaluation results, determine whether the model meets the actual business needs. If the model prediction ability is good, it can be used in business practice to provide default risk warning; if the prediction ability is insufficient, the model needs to be further optimized, such as incorporating other risk factors, increasing the sample size, trying other models, etc.

[0142] According to the weight coefficient of each risk factor, the weighted summation method is used to calculate the comprehensive risk score. By setting the comprehensive risk score threshold, it is determined whether the audit is passed. If the comprehensive risk score is lower than the threshold, it is judged as passed, and a pre-audit pass report is generated; if the comprehensive risk score is higher than or equal to the threshold, it is judged as failed, and a pre-audit failure report is generated. According to the weight coefficient of each risk factor, the factors with higher risks are determined, and the corresponding modification opinions are generated as an attachment to the pre-audit report.

[0143] When generating modification opinions, an association rule mining algorithm is used to mine the association rules between each risk factor and modification opinions from historical audit cases, and the corresponding modification opinions are obtained according to the risk factors of the current case. According to the historical audit case data, data preprocessing technology is used to clean, transform and integrate the data to obtain a high-quality case data set. By performing feature engineering on the case data set, the risk factor characteristics of the case, such as loan amount, repayment period, credit record, etc., are extracted to obtain the feature vector representation of the case. An association rule mining algorithm, such as the Apriori algorithm or the FP-growth algorithm, is used to mine the association rules between risk factors and modification opinions from the case feature vector to obtain the corresponding relationship between risk factors and modification opinions. According to the risk factors of the current audit case, the candidate set of modification opinions related to the risk factors of the current case is obtained through association rule matching. A similarity calculation method, such as cosine similarity or Jaccard similarity, is used to calculate the similarity between the current case and each modification opinion in the modification opinion candidate set, and the modification opinion most relevant to the current case is obtained. According to the similarity sorting, several modification opinions with the highest similarity are selected as the modification opinion recommendation for the current case and provided to the auditor for reference. The auditor conducts a final audit of the current case based on the recommended modification opinions and professional experience, determines whether it has passed the audit and the specific modification opinions, and completes the case audit process. The risk factors and final modification opinions of the current case are added to the historical audit case data set, and the association rules are updated through incremental learning to continuously optimize the accuracy and applicability of the modification opinion recommendations. Finally, the pre-audit report and the modification opinion attachments are summarized and output to complete the pre-audit.

[0144] Reference Figure 2 An embodiment of the present invention provides a pre-review system 2 for Apple App Store review, and the system 2 specifically includes:

[0145] A preliminary review module 201 is used to determine the IPA package to be reviewed and metadata related information, and to conduct a preliminary review of the IPA package based on the metadata related information;

[0146] A decompression module 202 is used to decompress the IPA package to obtain application content;

[0147] The first analysis module 203 is used to identify infringement of the ICON file of the application content, compare the image recognition of the historical APP resources and online APP resources in the pre-audit knowledge base, determine whether the application content is suspected of ICON infringement, and obtain a first analysis result;

[0148] The second analysis module 204 is used to analyze the APP package name of the application content, determine whether the APP package name has the risk of triggering sensitive words, and obtain a second analysis result;

[0149] The third analysis module 205 is used to analyze the resource files of the application content, determine whether the resource files have infringement risks, and obtain a third analysis result;

[0150] The fourth analysis module 206 is used to analyze the binary code file of the application content, determine whether the binary code file has a risk of triggering sensitive words and has garbled characters, and obtain a fourth analysis result;

[0151] A fifth analysis module 207, configured to identify integrity risks of the qualification files in the metadata related information to obtain a fifth analysis result;

[0152] The report output module 208 is used to summarize the first analysis result, the second analysis result, the third analysis result, the fourth analysis result and the fifth analysis result to form a preliminary audit report.

[0153] It is understandable that if Figure 1 The contents of the pre-review method embodiment for Apple App Store review shown in the figure are applicable to the pre-review system embodiment for Apple App Store review. The functions specifically implemented by the pre-review system embodiment for Apple App Store review are the same as those in the example shown in the figure. Figure 1 The pre-review method embodiment for Apple App Store review shown in FIG. 1 is the same as that shown in FIG. 1 , and the beneficial effects achieved are the same as those of FIG. Figure 1 The beneficial effects achieved by the embodiment of the pre-review method for Apple App Store review shown are also the same.

[0154] It should be noted that the information interaction, execution process and other contents between the above-mentioned systems are based on the same concept as the embodiment of the method of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0155] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0156] Reference Figure 3 The embodiment of the present invention further provides a computer device 3, comprising: a memory 302 and a processor 301 and a computer program 303 stored in the memory 302. When the computer program 303 is executed on the processor 301, the pre-review method for Apple App Store review as described in any one of the above methods is implemented.

[0157] The computer device 3 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The computer device 3 may include, but is not limited to, a processor 301 and a memory 302. Those skilled in the art will appreciate that Figure 3 It is only an example of computer device 3 and does not constitute a limitation on computer device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.

[0158] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0159] In some embodiments, the memory 302 may be an internal storage unit of the computer device 3, such as a hard disk or memory of the computer device 3. In other embodiments, the memory 302 may also be an external storage device of the computer device 3, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the computer device 3. Further, the memory 302 may also include both an internal storage unit of the computer device 3 and an external storage device. The memory 302 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory 302 may also be used to temporarily store data that has been output or is to be output.

[0160] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program implements a pre-review method for Apple App Store review as described in any one of the above methods.

[0161] In this embodiment, if the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0162] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0163] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can 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.

[0164] In the embodiments disclosed in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0165] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

Claims

1. A pre-audit method for Apple App Store audit, characterized in that: The method specifically comprises: Determine the IPA package and metadata related information to be submitted for review, and conduct a preliminary review of the IPA package based on the metadata related information; Decompress the IPA package to obtain the application program content; Identify infringement of the ICON files of the application content, compare the image recognition of the historical APP resources in the pre-audit knowledge base and the online APP resources, determine whether the application content is suspected of ICON infringement, and obtain the first analysis result; Analyze the APP package name of the application content to determine whether the APP package name has a risk of triggering sensitive words, and obtain a second analysis result; Analyze the resource files of the application content to determine whether the resource files have infringement risks, and obtain a third analysis result; Analyze the binary code file of the application content to determine whether the binary code file has a risk of triggering sensitive words and has garbled characters, and obtain a fourth analysis result; Perform integrity risk identification on the qualification documents in the metadata related information to obtain a fifth analysis result; The first analysis result, the second analysis result, the third analysis result, the fourth analysis result and the fifth analysis result are summarized to form a preliminary audit report.

2. The method according to claim 1, characterized in that The preliminary review of the IPA package according to the metadata related information specifically includes: Obtaining basic information of the IPA package according to the metadata related information; Based on the support vector machine classification algorithm, the IPA package is preliminarily classified according to the basic information of the IPA package to obtain the application type to which the IPA package belongs; Determine the audit items of the IPA package according to the application type, classify the audit items using a decision tree algorithm and generate an audit task list; According to the audit task list, the application content, application interface and application function of the IPA package are audited for compliance respectively to generate a preliminary audit score.

3. The method according to claim 1, characterized in that: The application content includes an executable file, a resource file and a configuration file; the IPA package is decompressed to obtain the application content, and then the following steps are further included: Analyze the executable file using static code analysis technology to obtain the code structure of the executable file, analyze the code structure of the executable file according to an abstract syntax tree analysis algorithm to obtain application code logic relationship information, and determine whether there is a code logic error according to the application code logic relationship information; Using a resource file parsing algorithm to parse the resource file to obtain application resource information; Using a configuration file parsing algorithm to parse the configuration file to obtain application configuration information; Analyze and identify the application resource information and the application configuration information through a content audit algorithm to obtain a content audit result; Analyzing and identifying the application resource information and the application configuration information through a violation video image recognition model to obtain a security judgment result; Based on a weighted scoring algorithm, the content review results and the security judgment results are weighted and scored to obtain a comprehensive score for the application.

4. The method according to claim 1, characterized in that: The infringement identification of the ICON file of the application content is carried out by comparing the image recognition of the historical APP resources and online APP resources in the pre-audit knowledge base to determine whether the application content is suspected of ICON infringement, specifically including: Obtaining the ICON file of the application content, and extracting the MD5 feature value of the ICON file; According to the MD5 characteristic value of the ICON file, detect whether there are historical APP resources or online APP resources with the same MD5 characteristic value in the pre-audit knowledge base; If it exists, it is determined that there is suspected ICON infringement. Otherwise, the scale-invariant feature transformation algorithm is used to compare the similarity of the ICON file with each copyrighted image in the pre-review knowledge base to obtain a similarity score.

5. The method according to claim 1, characterized in that The analyzing the APP package name of the application content to determine whether the APP package name has the risk of triggering sensitive words specifically includes: Using the Jieba word segmentation algorithm to perform word segmentation processing on the APP package name of the application content to obtain a word segmentation result; Based on the word segmentation results, an AC automaton algorithm is used to perform search and matching one by one in a pre-built sensitive word knowledge base to obtain sensitive word information of each word segmentation hit; According to the sensitive word information of each segmentation, the sensitive word risk score of each segmentation is calculated to obtain a risk score list; Based on a preset sensitive word risk level threshold, the risk score of each word segment in the risk score list is divided to determine the risk level of each word segment; Based on the weighted average algorithm, a first risk score of the APP package name is obtained by calculating the risk level of each word segment; By comparing a preset first risk level threshold and the first risk score, it is determined whether the APP package name has a risk of triggering sensitive words.

6. The method according to claim 1, characterized in that The analyzing of the resource files of the application content to determine whether the resource files have infringement risks specifically includes: According to the MD5 value corresponding to the resource file of the application content, detecting whether there is a copyright material with the same MD5 characteristic value in the pre-audit knowledge base; If the copyrighted material with the same MD5 characteristic value is detected in the pre-audit knowledge base, it is determined that the resource file has an infringement risk; If a copyright material with the same MD5 feature value is detected in the pre-audit knowledge base, the hash value similarity between the image resource file of the resource file and each copyright image in the pre-audit knowledge base is calculated by an image hash algorithm to determine whether the image resource file has an infringement risk; If no copyright material with the same MD5 feature value is detected in the pre-audit knowledge base, the text similarity between the text resource file of the resource file and the copyright text content in the pre-audit knowledge base is calculated using a text similarity algorithm to determine whether the text resource file has an infringement risk.

7. The method according to claim 1, characterized in that The analyzing of the binary code file of the application content to determine whether the binary code file has a risk of triggering sensitive words and has garbled characters specifically includes: Extracting code information from a binary code file of the application content according to a decompilation technique, and outputting the code information to a search file, wherein the code information includes a class name, a method name, a variable name, and a long character string; Based on the sensitive word knowledge base in the pre-review knowledge base, searching and matching the search file with each sensitive word in the sensitive word knowledge base to determine a list of sensitive words in the search file; Using a support vector machine algorithm to perform risk assessment on each sensitive word in the sensitive word list, and outputting a sensitive word risk assessment result; According to the TF-IDF algorithm, the word frequency and inverse document frequency of the code information in the search file are analyzed to determine whether there is a long garbled character string.

8. The method according to claim 1, characterized in that The identification of integrity risks of the qualification documents in the metadata related information specifically includes: Obtain a list of qualification files according to the metadata-related information, use a regular expression matching algorithm to match the file name of each qualification file in the list of qualification files, determine whether each qualification file exists, and obtain qualification file matching status; Compare the qualification document list with a preset set of necessary qualification documents to determine whether the number of qualification documents meets the quantity requirement, and obtain the number of qualification documents; Use OCR technology to perform text recognition on the qualification documents, extract key information of the qualification documents, determine whether the key information of each qualification document is complete based on the key information of the qualification documents, and obtain the completeness of the qualification documents; Based on the logistic regression algorithm, the integrity risk level of the qualification documents is determined according to the matching status of the qualification documents, the number of the qualification documents and the completeness of the qualification documents.

9. A pre-audit system for Apple App Store audit, characterized in that: The system specifically comprises: A preliminary review module, used to determine the IPA package and metadata related information to be submitted for review, and conduct a preliminary review of the IPA package based on the metadata related information; A decompression operation module, used to decompress the IPA package to obtain application content; The first analysis module is used to identify infringement of the ICON file of the application content, compare the image recognition of the historical APP resources and online APP resources in the pre-audit knowledge base, determine whether the application content is suspected of ICON infringement, and obtain the first analysis result; A second analysis module is used to analyze the APP package name of the application content, determine whether the APP package name has the risk of triggering sensitive words, and obtain a second analysis result; A third analysis module is used to analyze the resource files of the application content, determine whether the resource files have infringement risks, and obtain a third analysis result; A fourth analysis module is used to analyze the binary code file of the application content, determine whether the binary code file has a risk of triggering sensitive words and has garbled characters, and obtain a fourth analysis result; A fifth analysis module, configured to identify integrity risks of the qualification documents in the metadata related information to obtain a fifth analysis result; The report output module is used to summarize the first analysis result, the second analysis result, the third analysis result, the fourth analysis result and the fifth analysis result to form a preliminary audit report.

10. A computer device, characterized in that: include: A memory and a processor and a computer program stored in the memory, when the computer program is executed on the processor, implements the pre-review method for Apple App Store review as described in any one of claims 1 to 8.

Citation Information

Cited By

  • A command line based interactive automated evaluation method and system

    CN119782072A

  • LLM-based iOS waistcoat dynamic automatic detection method, device and medium

    CN120295926A