Architecture strategy positioning method and system of Java project
A java method and architecture technology, applied in software maintenance/management, software indicators, etc., can solve the problems of structural strategy code positioning accuracy and low efficiency, and achieve the effect of high accuracy and recall rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] A specific embodiment of the present invention discloses an architectural strategy positioning method of a Java project, the flow chart of which is as follows figure 1 As shown, the method includes the following steps:
[0058] Step S1: extracting feature texts of all Java methods in the Java project;
[0059] Specifically, this embodiment extracts the feature text of each Java method from the source code in the Java project based on the Java bytecode manipulation library (BCEL).
[0060] During the implementation process, the user needs to provide a runnable Java project, and call the relevant methods of the BCEL operation library to automatically extract the feature text of all Java implementation methods of the Java project;
[0061] Preferably, by analyzing the Java project source code and the system architecture strategy to realize the point-cutting method, the feature text extracted in this embodiment includes the following:
[0062] (1) method name
[0063] Ge...
Embodiment 2
[0127] Embodiment 2 of the present invention discloses an architectural strategy positioning system of a Java project, the structural diagram is as follows Figure 8 As shown, the system includes:
[0128] The feature text acquisition module is used to extract the feature text of all Java methods in the Java project;
[0129] A feature vector generating module, configured to process the feature text to obtain a corresponding feature vector;
[0130]The classification module is used to determine the type of architecture strategy to be positioned, and input the feature vector corresponding to each Java method to the architecture strategy model corresponding to the architecture strategy type to obtain the Java corresponding to the architecture strategy type. The pointcut method type to which the method belongs;
[0131] An architecture strategy locating module, configured to locate the Java method corresponding to the architecture strategy type in the Java project based on the ...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com