Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

35 results about "Class diagram" patented technology

In software engineering, a class diagram in the Unified Modeling Language (UML) is a type of static structure diagram that describes the structure of a system by showing the system's classes, their attributes, operations (or methods), and the relationships among objects.

Automatic scene generation method and device based on railway topological relation

The invention discloses an automatic scene generation method and device based on a railway topological relation. The automatic scene generation method based on the railway topological relation comprises the following steps: generating UML class diagram form topological relation data; performing data structure conversion on the UML class diagram form topological relation data to obtain standardized format data; obtaining a railway element library; and calculating position information of each facility element according to the standardized format data and the railway element library, and performing scene layout according to the position information of each facility element so as to generate railway scene information including each facility element. According to the automatic scene generation method based on the railway topological relation, by creating and analyzing the railway topological relation (including the nodes, the edges and the attributes thereof), automatic generation of geometric layout and attribute distribution of railway elements in the scene is achieved, and the consistency of the scene and the actual railway operation rule is ensured.
Owner:BEIJING JIAOTONG UNIV

Software complexity measurement method based on ordered weighted average (OWA) operator

The invention discloses a software complexity measurement method based on an OWA (Ordered Weighted Average) operator, which comprises the following steps: constructing a software quality evaluation model, and inputting a to-be-evaluated software class diagram into the software quality evaluation model for processing to obtain a software quality evaluation result; wherein the software quality evaluation model is related to the distance between the to-be-evaluated software class diagram and the ideal solution, the distance between the to-be-evaluated software class diagram and the negative ideal solution, the weight of the Euclidean distance between the to-be-evaluated software class diagram and the ideal solution, and the weight of the Euclidean distance between the to-be-evaluated software class diagram and the negative ideal solution. The invention constructs a scientific software quality measurement method.
Owner:JIANGXI UNIVERSITY OF FINANCE AND ECONOMICS

A Parametrization and Surface Generation Method for Propeller Blades Based on B-Splines

The present invention belongs to the technical field of engineering design and optimization, specifically, a method for parameterizing and generating surfaces of propeller blades based on B-splines: first, based on the B-spline curve method, the least squares method is adopted to fit the blade section value points at different radii, and the parameterization of the blade section and the outer contour is realized by using methods such as proportion, offset, and coordinate transformation; secondly, based on the B-spline surface method, the propeller blade surface, blade back, blade root and blade top surfaces are efficiently generated; finally, the relevant program is written based on the Python language, and a UML class diagram of the program is given; the present invention programs the entire process through the language Python to realize the parameterization of propeller blades and the automatic generation of surfaces, effectively improving the propeller modeling efficiency and the flexibility of parameterization variable selection in the optimization process.
Owner:JIANGSU UNIV OF SCI & TECH

Template-based multi-format layout file generation method and system

The invention relates to a template-based multi-format layout file generation method and system, and the method comprises the following steps: generating a template object and a data object through analyzing a template file and a data file, constructing a document object of a fixed page through a dynamic paging calculator and a preset strategy class diagram, and supporting multi-format output; data volume self-adaptive paging is realized through a paging strategy, and cross-page table header repeated rendering and cell merging are supported; a middle data layer is adopted to separate contents and formats, and a coordinate system conversion algorithm is utilized to realize output of formats such as PDF and OFD. I / O consumption is reduced by lazy loading of a font resource pool, and table dynamic expansion and cross-page association are realized based on gridding modeling. According to the method and the device, the problems of incapability of self-adaptive paging and poor compatibility of multi-format output of traditional template sleeve printing are solved, and the efficiency and the consistency of layout file generation in a government affair electronic scene are remarkably improved.
Owner:FUJIAN BOSS SOFTWARE

Test case generation method and system based on demand document analysis

The invention provides a test case generation method and system based on demand document analysis, and the method comprises the steps: obtaining a demand document, inputting the demand document into a pre-trained recognition model, and outputting the relation between entities in the demand document by the recognition model; constructing a first UML class diagram based on the relationship between the entities, wherein the first UML class diagram comprises a connection line corresponding to the node of each entity and the relationship between the entities; obtaining a second UML class diagram constructed by the technician through the demand document, and comparing the first UML class diagram with the second UML class diagram; determining whether there is a difference between the first UML class diagram and the second UML class diagram; if so, reporting the difference node and the difference relation obtained by comparison; and if the first UML class diagram does not exist, analyzing the first UML class diagram or the second UML class diagram into a corresponding test case.
Owner:ZHONGQI LIANXIN (BEIJING) TECH CO LTD

Code generation method and device, equipment, storage medium and program product

The invention relates to a code generation method and device, equipment, a storage medium and a program product. The method comprises the following steps: acquiring a demand model; obtaining an initial class diagram of a design model based on the demand model; optimizing the initial class diagram of the design model by using a multi-objective genetic algorithm and a large model to obtain an optimized design model; and generating a single system code matched with the demand model based on the optimized design model. The code generation efficiency and the code generation quality can be improved.
Owner:CHINA ELECTRONICS RELIABILITY AND ENVIRONMENTAL TESTING INSTITUTE ((THE FIFTH INSTITUTE OF ELECTRONICS MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY) (CHINA SAIBAO LABORATORY)

FPGA multi-performance index prediction method based on multi-task learning

The invention aims to provide an FPGA multi-performance index prediction method based on multi-task learning, and the method comprises the steps: obtaining directed acyclic graph structure data of a connection relation between pins on the basis of class graph image data after layout extraction; performing feature extraction on the similar image data and the directed acyclic graph data by using a CNN-GCN combination model of a decoder-decoder structure to obtain similar image data features and directed acyclic graph data features; carrying out feature fusion on the similar image data features and the directed acyclic graph data features; different decoders are used for prediction for different prediction targets, and four performance indexes are predicted at the same time; according to the method, feature extraction is performed in combination with supervised learning models for different data types, and information sharing is realized by means of multi-task cooperative training, so that the models can predict a plurality of performance indexes at the same time.
Owner:GUANGDONG UNIV OF TECH

A method for software design and development and a terminal

The application discloses a software design and development method and a terminal, a detailed design document corresponding to an architecture design document is generated according to software requirements, a corresponding core class code is generated according to a core class diagram of the detailed design document, and an engineering code is obtained by directly developing based on the core class code by a developer; if the engineering code does not match the core class in the detailed design document, the core class diagram and the corresponding design document are re-generated, thereby greatly improving the consistency of software design and software development; if the engineering code matches the core class of the detailed design document, the engineering code is submitted to a code warehouse, the submitted document is ensured to be correct and reliable, and the design document is ensured to be well landed in the development stage.
Owner:FUJIAN TIANQUAN EDUCATION TECH LTD

Interactive component assembly module design method, simulation software construction method and device

The application provides an interactive component assembly module design method, a simulation software construction method and device, and the interactive component assembly module design method comprises the following steps: constructing a data structure class diagram describing the correlation relationship between a geometric component object and a component instance object; determining the method interface required to be provided by the object in the interactive diagram when the component instance object realizes the component assembly function based on the data structure class diagram, and designing an interactive component assembly module based on the interactive diagram and the method interface. The data structure class diagram and the interactive diagram provided by the application meet the cross-module data correlation requirements of the geometric modeling, component assembly and meshing and other modules in the finite element modeling process, realize the assembly function development based on the geometric component object, and effectively improve the expansibility and maintainability of the designed interactive component assembly module.
Owner:NINGXIA UNIVERSITY

Method, system, equipment and medium for constructing electrical professional general information model

The invention provides a method, a system, equipment and a medium for constructing an electrical professional general information model, and relates to the technical field of digital collaborative design, and the method comprises the steps: defining an electrical professional meta-model; determining a relation class diagram according to the electrical professional meta-model; based on the relation class diagram, geometric information and non-geometric information are obtained through source CAD software; exporting the geometric information in the form of an STEP file, and exporting the non-geometric information in the form of an XML file; determining a three-dimensional model according to the STEP file and the XML file, and adding model labeling information and process information into the three-dimensional model; and determining an electrical professional general information model based on the three-dimensional model, the model labeling information and the process information. According to the technical scheme, the three-dimensional model can be converted into the electrical professional general information model in the intermediate format by defining the composition of the electrical professional meta-model and standardizing the mode of data acquisition and conversion, effective transmission among development units is facilitated, and the conditions of data exchange obstacles and model information loss are avoided.
Owner:CHINA SHIP DEV & DESIGN CENT

Design method of finite element analysis unit library data structure and interactive function architecture

The invention provides a method for designing a finite element analysis unit library data structure and an interactive function architecture. The method comprises the following steps of: constructing an interactive function data class diagram comprising a unit type setting dialog box class and a unit library abstraction class; constructing a unit library data structure; the unit library data structure comprises a unit library abstraction class, a unit family abstraction class and a topology type, and the unit library abstraction class realizes a set of finite element calculation units with different orders and different shapes; constructing a development template of unit functions; the development template comprises a finite element unit basic class and a general abstract interface; constructing a data structure of the unit family abstract class; the data structure is a combination relationship between a unit family abstract class and a finite element unit class, a unit setting component class and a unit setting information class. According to the method, a grid type setting interaction function with good operation experience is provided on the user level, a standardized unit development template is provided on the development level, and a framework foundation is provided for interaction operation through data structure design of a unit family.
Owner:NINGXIA UNIVERSITY

Software quality uncertainty modeling method based on graph neural network and Wasserstein comparative learning

The invention discloses a software quality uncertainty modeling method based on a graph neural network and Wasserstein comparative learning, and belongs to the technical field of software quality metrics, and the method comprises the steps: firstly, constructing a UML class graph into a heterogeneous graph containing a plurality of node and edge types; extracting node embedding and generating an instance-level dynamic weight vector by using a pre-trained graph attention network; calculating the difference between the node embedding distribution and the predefined positive and negative ideal distribution by adopting a Sliced Wasserstein distance; and finally calculating to obtain a comprehensive complexity score in combination with the dynamic index. According to the method, the topological structure of the class diagram is effectively utilized, accurate measurement and self-adaptive personalized evaluation of the geometric difference of feature distribution are realized, the robustness under fuzzy and incomplete data is improved, and the uncertainty in quality evaluation is explicitly quantified.
Owner:JIANGXI UNIVERSITY OF FINANCE AND ECONOMICS

Data archiving configuration method, data archiving method, data archiving system and data archiving equipment

The invention relates to a data archiving configuration method, a data archiving method, a data archiving system and data archiving equipment, and belongs to the technical field of data processing.The data archiving configuration method comprises the steps that in response to configuration operation of a user on the relation between service models through a user interface, a class diagram representing the relation between the service models is constructed; wherein different business models correspond to different business data; acquiring a data archiving condition configured for the business model; and generating an archiving scheme of the business model according to the data archiving condition and the class diagram. The class diagram-based data archiving configuration method provided by the invention is easier to operate by a user.
Owner:WUHAN BAISIJIE TECH CO LTD

Intelligent case scene design mechanism for reproducing customer questions

The embodiment of the invention relates to an intelligent case scene design mechanism for reproducing customer questions. Methods, systems, and non-transitory processor-readable storage media for replicating a system for questions are provided herein. An example method includes receiving, by a problem replication system, a resolution request from a problem resolution system, wherein the resolution request is associated with a problem occurring on an information system. The problem replication system allocates at least one metric to the resolution request and stores the metric in a class graph data structure. A problem replication system calculates a similarity score between a class graph data structure and each of a plurality of class graph data structures from a solution repository.
Owner:DELL PROD LP

Interactive material setting module design method, simulation software construction method and device

The application provides an interactive material setting module design method and simulation software construction method and device, which comprises the following steps: determining a material data structure class diagram, a cross-section data structure class diagram and a cross-section assignment data structure class diagram based on a combination mode; constructing an interactive material function framework based on the material data structure class diagram; the interactive material function framework comprises a material creation dialogue window; constructing an interactive cross-section function framework based on the cross-section data structure class diagram; the interactive cross-section function framework comprises a cross-section creation dialogue window; constructing an interactive cross-section assignment function framework based on the cross-section assignment data structure class diagram; the interactive cross-section assignment function framework comprises a cross-section assignment editing dialogue window; reserving a material creation function button in the cross-section creation dialogue window and reserving a cross-section creation button in the cross-section assignment editing dialogue window. The application effectively guarantees the expandability and maintainability of the material setting module and improves the development efficiency.
Owner:NINGXIA UNIVERSITY

Interactive material setting module design method, simulation software construction method and device

The invention provides an interactive material setting module design method and device and a simulation software construction method and device. The method comprises the steps that a material data structure class diagram, a section data structure class diagram and a section assignment data structure class diagram are determined based on a combination mode; constructing an interactive material function framework based on the material data structure class diagram; the interactive material function architecture comprises a material creation dialogue window; constructing an interactive section function architecture based on the section data structure class diagram; the interactive section function architecture comprises a section creation dialogue window; constructing an interactive cross section assignment function architecture based on the cross section assignment data structure class diagram; the interactive section assignment function architecture comprises a section assignment editing dialogue window; and creating a conversation window reserved material creation function button on the cross section, and assigning and editing a conversation window reserved cross section creation button on the cross section. The expandability and maintainability of the material setting module are effectively guaranteed, and meanwhile the development efficiency of the material setting module is improved.
Owner:NINGXIA UNIVERSITY

Software quality adaptive measurement method based on information geometry and reinforcement learning

The invention discloses a software quality adaptive measurement method based on information geometry and reinforcement learning. The method comprises the following steps: acquiring original quality feature data of a software class diagram; extracting low-dimensional manifold coordinates through information geometric mapping and sparse representation; reconstructing an index quantity value according to the manifold coordinates and constructing a composite fuzzy matter element; carrying out nondimensionalization on matter elements to obtain an optimal membership matrix; determining an initial weight based on an entropy weight method; iterative optimization is carried out through a reinforcement learning adaptive feedback mechanism to obtain an optimization weight; and calculating a comprehensive evaluation value by adopting an MARCOS method and outputting a measurement result. According to the method, a breakthrough of software quality measurement from static state to dynamic state self-adaption is realized, the accuracy and practicability of measurement are remarkably improved, and the defects of a traditional method in the aspects of high-dimensional complexity, evaluation fuzziness and static weight limitation are effectively overcome.
Owner:JIANGXI UNIVERSITY OF FINANCE AND ECONOMICS

Smart home temperature control system opacity strengthening method based on label time Petri network

The invention belongs to the technical field of information security, and relates to a smart home temperature control system opacity strengthening method based on a tag time Petri network. Establishing a label time Petri network model of the intelligent household temperature control system; constructing a partial correction state class diagram based on time sequence observation of which the current state is not transparent, forming a path constraint model consistent with observation logic, and identifying a path set inconsistent with observation time; screening a path which meets the opaqueness of the current state relative to the secret identifier set in the path set, and constructing a linear programming model to solve a minimum time sequence disturbance function value; and updating the original time sequence observation by using the perturbation function, and generating a new observation sequence meeting the opaqueness of the current state. According to the method, an attacker is effectively prevented from deducing the real state of the system through a time sequence, meanwhile, exhaustive search on a full-state space is avoided, the calculation complexity is reduced, and the applicability and expandability of the method in a complex discrete event system are improved.
Owner:WUHAN UNIV OF SCI & TECH

Software quality measurement method based on FERMATEAN fuzzy PROMETHEE and quantum particle swarm optimization

The invention discloses a software quality measurement method based on FERMATEAN fuzzy PROMETHEE and quantum particle swarm optimization. The method comprises the following steps: acquiring an original characteristic value of a software class diagram and constructing a composite fuzzy matter element; the fuzzy number is converted into a Fermatean fuzzy number meeting cubic constraint so as to expand an uncertainty representation space; calculating a score function and an optimal membership degree to form a standardized matrix; constructing a fitness function fusing the distinction degree and the balance penalty, and adopting a quantum particle swarm optimization algorithm to adaptively learn an optimal index weight; on the basis of the optimal weight and the optimal membership degree, a net flow value of each object is calculated by using a PROMETHEE method; and calculating a comprehensive evaluation index according to the net flow value and dividing quality grades. According to the method, the limitation of a traditional method in the aspects of fuzzy information description, static empowerment and linear compensation is overcome, and the accuracy, the adaptability and the decision reasonability of software quality measurement are improved.
Owner:JIANGXI UNIVERSITY OF FINANCE AND ECONOMICS

A modeling and model conversion method for autonomous driving demand analysis

The application provides a modeling and model conversion method for automatic driving demand analysis, comprising the following steps: step 1, defining a UML extension meta-model; step 2, obtaining an intermediate model; and step 3, generating a target extension model. The application combines the abstracted concepts with the UML analysis model by analyzing and extracting the automatic driving related terms and concepts and the behavior characteristics of the automatic driving vehicle, realizes the extension of the UML class diagram and the activity diagram in the automatic driving field, formulates the model conversion rules according to the automatic driving concepts of the automatic driving system limited use case modeling language, and realizes the model conversion method based on the model conversion engine written in the Java language, so that the defects that the general model conversion method cannot process the RUCM4ADS model are made up, the efficiency and accuracy of the model conversion in the automatic driving field are promoted, the subsequent analysis and testing of the system demand are facilitated, and the accuracy of the demand modeling in the automatic driving field is improved.
Owner:NANJING UNIV OF AERONAUTICS & ASTRONAUTICS

Code generation method and device, equipment, storage medium and program product

This application relates to a code generation method, apparatus, device, storage medium, and program product. The method includes: obtaining a requirement model; obtaining an initial class diagram of a design model based on the requirement model; optimizing the initial class diagram of the design model using a multi-objective genetic algorithm and a large model to obtain an optimized design model; and generating monolithic system code matching the requirement model based on the optimized design model. This application can improve code generation efficiency and code generation quality.
Owner:CHINA ELECTRONICS RELIABILITY AND ENVIRONMENTAL TESTING INSTITUTE ((THE FIFTH INSTITUTE OF ELECTRONICS MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY) (CHINA SAIBAO LABORATORY)

Interactive component assembly module design method, simulation software construction method and device

The invention provides an interactive component assembly module design method and a simulation software construction method and device. The interactive component assembly module design method comprises the following steps: constructing a data structure class diagram for describing an association relationship between a geometric component object and a component instance object; based on the data structure class diagram, determining a method interface which is required to be provided by the object in the interaction diagram when the component instance object realizes a component assembling function, and designing an interactive component assembling module based on the interaction diagram and the method interface. The data structure class diagram and the interaction diagram provided by the invention meet the cross-module data association requirements of modules such as geometric modeling, component assembly and grid division in the finite element modeling process, assembly function development based on geometric component objects is realized, and the expansibility and maintainability of the designed interactive component assembly module are effectively improved.
Owner:NINGXIA UNIVERSITY

Code reconstruction method and device, equipment, medium and chip

The invention discloses a code reconstruction method and device, equipment, a medium and a chip, and belongs to the field of artificial intelligence. Comprising the steps of generating a UML class diagram according to a call chain of a source code of a to-be-upgraded application; the UML class diagram is a code class relation diagram meeting the reconstruction requirement of the source code; performing function marking on a plurality of functions contained in the source code to obtain function marking information; generating at least one code reconstruction request according to the source code, the reconstruction demand of the source code and the function mark information; a target code is obtained through a pre-trained code reconstruction model according to the code reconstruction request, and the code reconstruction model is obtained through training based on a GPT large language model: a target code framework is obtained through the pre-trained code reconstruction model according to the UML class diagram and the function marking information; and splicing the target code with the target code framework to obtain a reconstructed code of the source code.
Owner:CHINA TELECOM CLOUD TECH CO LTD

Intelligent software quality measurement method and system based on deep semantic fusion and dynamic weight

The invention provides an intelligent software quality measurement method and system based on deep semantic fusion and dynamic weight, and the method comprises the steps: constructing a composite fuzzy matter element matrix of a software class diagram, and carrying out the dimensionless processing of the composite fuzzy matter element matrix, and obtaining an optimal membership matrix; calculating an initial static weight of the complexity measurement index of the software class diagram; optimizing the initial static weight into an instance-level dynamic weight, and obtaining a self-attention value of each complexity measurement index; introducing the self-attention numerical value into the optimal membership matrix, and constructing an enhanced weighted fuzzy compound element matrix in combination with the instance-level dynamic weight; and on the basis of the enhanced weighted fuzzy complex element matrix, a TOPSIS method is adopted, and a final complexity metric value of the software class diagram is calculated in combination with bidirectional projection closeness. The method can adapt to quality evaluation requirements of different types of software systems, and a high-precision, high-adaptability and interpretable intelligent measurement method is provided for software engineering quality management.
Owner:JIANGXI UNIVERSITY OF FINANCE AND ECONOMICS

Interactive geometric modeling related module design method, software construction method and device

The present invention provides an interactive geometric modeling related module design method, a software construction method and a device, wherein the interactive geometric modeling related module design method includes: planning geometric modeling related operation functions and determining a plurality of large-granular modules; analyzing the interaction logic of each geometric modeling related function in each large-granular module one by one and determining the state diagram and interaction diagram corresponding to each large-granular module; determining the cross-module association of each geometric modeling related function in each large-granular module, and determining the functional architecture class diagram of each geometric modeling related function based on the state diagram and the cross-module association; determining a mouse subclass that provides interactive operation functions for geometric modeling related functions based on the interaction diagram; and creating an interactive geometric modeling related module based on the mouse interaction function and the functional architecture class diagram of the mouse subclass. The present invention improves the scalability and maintainability of the interactive geometric modeling related module, and improves the geometric modeling efficiency and user experience.
Owner:WUHAN UNIV

UML class diagram information extraction method and system, medium and equipment

The invention discloses a UML (Unified Modeling Language) class diagram information extraction method, system and equipment, and aims to solve the problems that the existing UML class diagram information extraction depends on manpower, is low in efficiency and is easy to make mistakes. The method comprises the following steps: collecting and marking a large number of UML class diagram images with different styles and complexities, and dividing the UML class diagram images into training, verification and test sets; constructing a YOLO model taking a convolutional neural network as a basic structure, setting proper parameters, training by using a training set, optimizing according to a loss function and a back propagation algorithm, and monitoring by using a verification set to prevent overfitting; and inputting a to-be-processed UML class diagram image into the trained model, identifying a quasi-rectangular contour and a relation type symbol, determining a position, extracting text information through an OCR technology, and further extracting UML class diagram information. According to the method, the information extraction efficiency and accuracy are remarkably improved, the method is high in expandability and suitable for UML class diagram processing in different fields and styles, and powerful support is provided for software engineering related tasks.
Owner:ZHEJIANG UNIV

Interactive grid division module design method, software construction method and device

The present invention provides an interactive meshing module design method, software construction method, and device. The interactive meshing module design method includes: determining an interactive meshing function based on meshing requirements, and determining a functional architecture class diagram of the meshing module based on the interactive meshing function; constructing a data conversion relationship and topological mapping between an Open CASCADE-based geometric model and a Gmsh-based mesh model; meshing the geometric model based on the functional architecture class diagram, data conversion relationship, and topological mapping to obtain a mesh model; and visualizing the mesh model based on mesh model visualization technology. The present invention facilitates the flexible expansion and maintenance of the interactive meshing function, achieves seamless conversion and efficient association of meshing-related model data from different sources, ensures the integrity of all necessary geometric and topological information during the conversion process, and enhances the efficiency and accuracy of meshing.
Owner:WUHAN UNIV

User interface automatic generation method based on domain concept model and use case model

The invention relates to the technical field of low-code development platforms, and provides a user interface automatic generation method based on a domain concept model and a use case model, which comprises the following steps: identifying a CRUD type corresponding to a use case from the use case model, and determining an interface template type corresponding to the CRUD type corresponding to the use case from a template library; reading role permission and business process information in the use case from the use case model; wherein the role authority is used for generating class diagram data required to be acquired by each prototype interface, and the business process information is used for determining a jump sequence between component functions and interfaces in the user interface; identifying a relationship type in the entity class from the domain conceptual model, and processing the class diagram data according to the relationship type in the entity class to obtain entity class data; and inputting the interface template type, the role permission, the business process information and the entity class data into a representation model to automatically generate the user interface.
Owner:CHENGDU UNIV OF INFORMATION TECH

A software quality self-adaptive measurement method based on information geometry and reinforcement learning

This invention discloses an adaptive software quality measurement method based on information geometry and reinforcement learning, comprising: acquiring original quality feature data of software class graphs; extracting low-dimensional manifold coordinates through information geometry mapping and sparse representation; reconstructing index values ​​and constructing composite fuzzy matter elements based on manifold coordinates; dimensionlessly transforming the matter elements to obtain an optimal membership matrix; determining initial weights based on the entropy weight method; iteratively optimizing the weights through a reinforcement learning adaptive feedback mechanism; and calculating the comprehensive evaluation value and outputting the measurement result using the MARCOS method. This invention achieves a breakthrough in software quality measurement from static to dynamic adaptation, significantly improving the accuracy and practicality of the measurement, and effectively overcoming the shortcomings of traditional methods in terms of high-dimensional complexity, evaluation fuzziness, and limitations of static weights.
Owner:JIANGXI UNIVERSITY OF FINANCE AND ECONOMICS

Method and device for performing static SQL reduction analysis on XML file and storage medium

The embodiment of the invention provides a method and a device for performing static SQL (Structured Query Language) reduction analysis on an XML (Extensible Markup Language) file and a storage medium. The method comprises the following steps of: obtaining a to-be-analyzed XML file, analyzing the XML file to obtain a plurality of elements contained in the XML file, and obtaining a plurality of node categories corresponding to the plurality of elements according to a preset mapping relationship between the elements and the node categories; analyzing each node category in the plurality of node categories one by one to obtain sub-nodes under each node category, sequentially constructing syntax trees by the at least one sub-node according to the sequence, and processing the plurality of syntax trees to generate a category graph; traversing and accessing the class diagram to obtain a final SQL, extracting a field mapping relation from the Resu ltMap to obtain a first attribute corresponding to a field, analyzing the final SQL to obtain a second attribute of the SQL field, determining whether the first attribute is matched with the second attribute or not, and if the first attribute is not matched with the second attribute, giving an alarm to the field.
Owner:WEBANK (CHINA)