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

540 results about "Java" patented technology

Java is a general-purpose programming language that is class-based, object-oriented (although not a pure object-oriented language, as it contains primitive types), and designed to have as few implementation dependencies as possible. It is intended to let application developers write once, run anywhere (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture. The syntax of Java is similar to C and C++, but it has fewer low-level facilities than either of them. As of 2019, Java was one of the most popular programming languages in use according to GitHub, particularly for client-server web applications, with a reported 9 million developers.

Method and system for dynamically calling Java statistical analysis interface based on LLM and MCP

The invention discloses a method and system for dynamically calling a Java statistical analysis interface based on LLM and MCP protocols, belongs to the technical field of data processing and analysis technology, artificial intelligence technology and application program interface (API) integration, and aims to solve the technical problem of how to improve the response speed and flexibility of statistical analysis requirements. In order to reduce the development and maintenance cost of a statistical analysis function, the adopted technical scheme is as follows: a Java annotation mechanism is utilized to mark and describe an existing Java statistical analysis system, a Java method of which the annotation is defined is obtained, and the Java method of which the annotation is defined can be automatically identified by an MCP server and registered as an MCP tool; the MCP server follows an MCP protocol and communicates with the LLM serving as an MCP client, and the LLM dynamically discovers available MCP tools through the MCP protocol; after natural language query of a user is understood through LLM, one or more appropriate MCP tools are intelligently selected, calling parameters are generated, and an MCP server is requested to execute through an MCP protocol.
Owner:SHANDONG INSPUR E-GOVERNMENT SOFTWARE LTD

Large model driving type API document automatic generation system oriented to legacy system

PendingCN121092211AProgram documentationBiological modelsPython (programming language)Model extraction
The invention provides a legacy system-oriented large-model-driven API document automatic generation system, belongs to the crossing field of artificial intelligence and software development, and provides a multi-modal data fusion and closed-loop verification mechanism aiming at the defects of a traditional API document generation method in the aspects of semantic comprehension, dynamic context capture and multi-technology stack adaptation. A code static feature and a dynamic track during operation are analyzed through a multi-source data acquisition module, and an interface semantic feature is extracted in combination with a field self-adaptive large model of a semantic enhancement analysis module; deducing an implicit service rule by fusing static / dynamic characteristics through a graph neural network, and generating a standardized document conforming to an OpenAPI specification through a parameterized template generative adversarial network (PT-GAN); and finally, performing three-level verification and closed-loop optimization through a sandbox environment. The method supports a heterogeneous system of 16 programming languages such as Java / C + + / Python, interface version changes can be automatically recognized, document patches are generated, the problems of missing and outdated system documents and low maintenance efficiency are solved, and maintainability and integration efficiency of enterprise-level systems are remarkably improved.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Assessing JAVA SBOM accuracy and completeness

Methods and systems for assessing a software bill of materials (SBOM) include extracting package names from code of an application to identify first dependencies of the application. Package names are extracted from accesses by the application to identify second dependencies of the application. A quality score is generated for an SBOM of the application based on a comparison of the contents of the SBOM to the first dependencies and the second dependencies. An action is performed responsive to the quality score.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Large language model dynamic adaptation method and system based on Java

The invention discloses a Java-based large language model dynamic adaptation method and system, belongs to the technical field of artificial intelligence, and aims to solve the technical problems of overcoming the interface difference of multiple model interfaces, simplifying the development process and providing standardized and high-expansibility large model management. Comprising the following steps: providing a model registration and dynamic loading service, a protocol conversion and parameter standardization service and a load balancing and failover service; a streaming transmission protocol service, a function call dynamic injection service and a global error processing mechanism are provided; when a user provides a document analysis and partitioning service, a vectorization index construction service and an RAG enhanced generation service to ask questions, relevant document blocks in the Pinecone are retrieved through the RAG enhanced generation service to serve as contexts to be injected into cue words of the large language model, and answers generated by the large language model are returned.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Java-to-ArkTS code conversion method and system based on large model

The invention provides a Java-to-ArkTS code conversion method and system based on a large model, and belongs to the field of computers.The Java-to-ArkTS code conversion method comprises the steps that S1, a Java project to be converted is comprehensively analyzed, the dependency relationship and semantic information between files are extracted, and a code knowledge graph is constructed; s2, determining a code conversion sequence based on the code knowledge graph, extracting context information and multi-modal semantic information of a to-be-converted code, and completing conversion from Java to TS codes in combination with a multi-agent cooperation mechanism; and S3, comparing and analyzing the TS code with an official ArkTS coding specification, identifying a violation code, and correcting and verifying the violation code through a plurality of intelligent agents to generate an ArkTS code which accords with the ArkTS grammar specification and is consistent in semantics. According to the method, the automatic migration from the Java project to the ArkTS project can be effectively supported, the project migration efficiency and the code quality are improved, and the manual intervention cost is reduced.
Owner:BEIHANG UNIV

Method and device for automatically generating Java method unit test case based on AI

The invention discloses a method and device for automatically generating a Java method unit test case based on AI, and the method comprises the steps: building a structured annotation specification, carrying out the automatic traversal and intelligent analysis of a Java project, extracting a method signature, a parameter type and a parameter constraint condition, constructing a test data generation model, and carrying out the automatic generation of the test case. The model is transmitted to an AI service to analyze business logic and boundary conditions, test case codes are generated, test cases are optimized and integrated to a project test directory, finally, code areas with insufficient coverage are identified through coverage rate analysis, a test completion strategy is generated, and iterative perfection of the test cases is completed. The technical problems that in the prior art, project-level automatic test case generation cannot be achieved, the generated test case cannot fully cover business logic and boundary conditions, and context relation understanding is lacked are solved, full-automatic project-level test generation is achieved, and the test efficiency and quality are improved.
Owner:BEIJING YULORE INNOVATION TECH

Systems and methods for automatic detection, fixing, and monitoring vulnerabilities in JAVA libraries

Disclosed herein are systems and methods for automatic detection, fixing, and monitoring of vulnerabilities. In one aspect, an exemplary method comprises receiving as an input an artifact, when the received artifact is vulnerable, building the artifact for a new release, scanning a library containing the new release of the artifact to determine whether the library is safe for publishing, and publishing the library to an accessible artifact depository when the library is safe for publishing. In one aspect, the building of the artifact for the new release includes, scanning a dependency tree, replacing the vulnerable version by a safe version of the artifact when a safe version is available, fixing the vulnerable version of the artifact using known patches when a safe version of the artifact is not available, adding a postfix to a group ID of the artifact for distinguishing the fixed version from prior versions of the artifact.
Owner:TUXCARE INC

Method for realizing java source code file security encryption based on C + + dynamic library

The invention provides a method for realizing secure encryption of a java source code file based on a C + + dynamic library, which relates to the technical field of secure encryption, and comprises the following steps of: partitioning the java source code file, and processing by adopting a dual encryption mechanism through an encryption module in the C + + dynamic library: firstly, generating a dynamic key and a static key XOR to obtain a mixed key, performing AES encryption by utilizing the mixed key, and then, performing encryption by utilizing the mixed key; carrying out secondary encryption by adopting an elliptic curve cryptographic algorithm; the environment is monitored in real time during decryption, and debugging protection is prevented; and if the environment is normal, executing reverse decryption to recover the source code. According to the method, the source code protection intensity is improved, and reverse engineering and debugging attacks are effectively prevented.
Owner:ZHEJIANG SHUXIN NETWORK CO LTD

Java-Based Application Inventory Discovery

A system includes at least one processor and a computer readable memory. When executed by the at least one processor, the at least one processor is caused to scan one or more resources associated with a configuration management database (CMDB) and access metadata regarding an installed software application from the scanned one or more resources. The at least one processor is further caused to create a list of candidate resources from the scanned one or more resources based on a number of attributes used to identify the installed software application from the accessed metadata, select a candidate resource based on the number of attributes used to identify the installed software application, identify the installed software application based on the selected candidate resource and update a Software Application Index (SAI) library with the metadata from the candidate resource.
Owner:MICRO FOCUS LLC

Data processing method and device, computer equipment, storage medium and program product

The invention relates to the technical field of big data, and discloses a data processing method and device, computer equipment, a storage medium and a program product. The method is applied to a NiFi cluster, and comprises the following steps: acquiring first target data; wherein the first target data is used for indicating changed data; performing type conversion processing on the first target data to obtain second target data; performing field mapping on the second target data to obtain third target data; and writing the third target data into an open-source data lake storage framework in a java client mode.
Owner:CHINA TELECOM CLOUD TECH CO LTD

Java custom class loader-based judicial system modular hot loading method

The invention discloses a judicial system modular hot loading method based on a Java custom class loader, which belongs to the technical field of computers, and comprises the following steps: designing a custom class loader, developing a custom class loader which can identify classes in a specific namespace and load the classes from a specified position; according to the modular design, the judicial information system is divided into a plurality of independent modules, and each module is responsible for a part of business logic; version control: distributing a version number for each module to facilitate the upgrade and rollback of the management module; a hot updating mechanism is adopted, when a new version module is deployed, the user-defined class loader can detect version changes and unload classes of an old version, the Java user-defined class loader mechanism is utilized, hot loading of the judicial system module is achieved, and therefore the purpose of dynamic updating is achieved, by constructing a hierarchical class loader system, the dynamic updating efficiency of the judicial system module is improved, and the dynamic updating efficiency of the judicial system module is improved. A new module version can be identified and loaded, an old version can be unloaded, and stable operation of the system is ensured.
Owner:SHENZHEN HAIGUI NETWORK TECH CO LTD

Resource leakage point positioning method, electronic equipment and storage medium

The invention provides a resource leakage point positioning method, electronic equipment and a storage medium, and relates to the technical field of terminals. In the method, in a service process, when a service thread calls a resource application interface to apply for resources, corresponding resource calling information is obtained, and the resource calling information comprises function stack memory information and register information corresponding to the resource application interface; the business process comprises one or more business threads; according to the technical scheme, the target thread is newly added in the business process, the stack return is carried out on the nat ive layer based on the function stack memory information and the register information, and the backtracking from the nat ive layer to the java layer is not needed during the stack return, so that the performance overhead and the resource consumption caused by the stack return are reduced, and the technical effect of improving the positioning efficiency of the resource leakage point is realized.
Owner:HONOR DEVICE CO LTD

Systems and methods of authorization and authentication based on demonstrated proof of possession and device fingerprint

An authorization and authentication method can comprise receiving, by a server from a user device, a request to generate an access token. The request includes a demonstration of proof of possession (DPoP) Java web token (JWT) that can include a public key, a payload, and a signature. The payload can include fingerprint data of the user device and a unique identifier of a contactless card associated with a user of the user device. The method can further comprise extracting, by the server, the DPoP JWT from the request to generate an access token and verifying, by the server, the signature using the public key included in the DPoP JWT. The method can further comprise authenticating, by the server, the payload, generating, by the server, the access token, binding, by the server, the public key to the access token, and transmitting, by the server, the access token to the user device.
Owner:CAPITAL ONE SERVICES LLC

Word document format conversion method based on Java

The invention particularly relates to a Word document format conversion method based on Java. The Word document format conversion method based on Java comprises the following steps: analyzing the content of an original. Doc file, and extracting text paragraphs, tables, pictures, style information and document metadata; the extracted content is divided into different categories, and the XML node type corresponding to each category of elements in the target. Docx document is established; the method comprises the following steps of: constructing a pattern mapping rule base, constructing a new. Docx document structure by using an XWPF Document object model according to an Office Open XML (Extensible Markup Language) specification, sequentially inserting paragraphs, tables and pictures, and applying corresponding pattern configuration; and outputting and generating a. Docx file, detecting and processing abnormal conditions, and recording a conversion log at the same time. The Word document format conversion method based on Java is efficient and accurate, has good compatibility, expandability and cross-platform capability, is suitable for enterprise-level document management systems, cloud services and batch document processing scenes, and remarkably improves document compatibility and processing efficiency of office automation systems.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Cross-platform IPA packet uploading method, system and device based on Flutter and medium

The invention discloses a Flutter-based cross-platform IPA packet uploading method, system and device and a medium, and the method specifically comprises the following steps: using a Flutter framework to develop a desktop application, and pre-packaging an iTMSTranport command line tool and a Java runtime environment in the desktop application; based on the desktop application, responding to user dragging or file selection operation to obtain an IPA file, automatically decompressing the IPA file and performing file analysis to obtain an analysis result; dynamically generating a command line instruction according to an analysis result; on the basis of a command line instruction, an uploading command is executed through a protossrun library promoter sub-process of the Flutter, and a command line output stream is captured in real time; and monitoring an exit code of the sub-process and a success identifier or an error identifier in the output stream, generating an uploading result report and triggering a system notification. According to the method, the key tool and the environment are integrated in the Flutter desktop application, so that a cross-platform IPA packet uploading function is realized, a unified and convenient operation entrance is provided for a user, platform limitation is broken, and development efficiency and experience are improved.
Owner:广州三七极耀网络科技有限公司

Configuration method for dynamically loading Vue3 component to construct front-end user interface under ExtJS combined JSP architecture

The invention discloses a configuration method for dynamically loading a Vue3 component to construct a front-end user interface under an ExtJS combined JSP architecture, which comprises the following steps of: under the ExtJS combined JSP architecture, newly adding a front-end bridging layer in a Java back-end source code and a compiled and output directory, and configuring a micro front-end engine file and a loading configuration file of a dynamic component loading engine in the front-end bridging layer; an application project directory of the Vue3 component is newly added; a micro-front-end engine file is introduced into a main interface entry JSP file, a loading configuration file of a packaged dynamic component loading engine is introduced, a DOM container of a Vue3 component is arranged in an HTML, and a management object syncExt of a bridging layer of the Vue3 component is customized; and carrying out packaging deployment on the J2EE and a front-end bridging layer by adopting dockerfile configuration, so as to realize cross-framework context communication. The method not only can support stable operation of stock applications, but also can integrate modern front-end framework components and realize framework decoupling.
Owner:SUNING CONSUMER FINANCE CO LTD

Dynamic interface implementation method based on Java Spring Boot framework

The invention discloses a dynamic interface implementation method based on a JavaSpringBoot framework, which relates to the technical field of project development and comprises the following steps: shielding SpringBoot default mapping; initializing a dynamic rule engine, and loading and caching an interface rule; the records meeting the enabling and version conditions are constructed into routing objects; constructing a dynamic routing directory, and dynamically registering and binding a routing object and the processing flow template; the user-defined entry agent intercepts an HTTP (Hyper Text Transport Protocol) request, submits the context of the request to the DynamicRouteCatalog, and performs efficient matching; and uniformly packaging the response data into a JSON format. Through cooperative work of the dynamic rule engine, the dynamic routing manager and the responsibility chain execution framework, interface dynamic registration, high-performance matching, multi-version parallel and online switching, pluggable business process and end-to-end observability are realized on the basis of ensuring the analysis capability of a SpringBoot native container; the flexibility and the maintainability of the system are improved, and the stability and the safety in a high-concurrency scene are also considered.
Owner:WEICHUANG SOFTWARE NANJING CO LTD

Method and system for detecting unauthorized vulnerabilities of Java Web system

The invention relates to the field of computer network security, in particular to an unauthorized vulnerability detection method and system of a Java Web system. The invention provides a method for detecting an unauthorized vulnerability of a Java Web system. The method comprises the following steps of: obtaining a to-be-detected code of a Java Web application; the code to be detected is converted into JIMPLE IR through a Soot framework; obtaining each authentication correlation function and each sensitive function in the code to be detected based on a prior rule base and the JIMPLE IR; based on whether the function call point of each authentication related function can reach one or more sensitive functions, obtaining each authentication outlet of the authentication related function; and analyzing the authentication path of each authentication exit structure to detect whether an unauthorized vulnerability exists. According to the method and the device, the authentication logic code with defects in the API can be detected instead of staying at a configuration level. And meanwhile, by introducing the inference capability of the large language model, deeper and more complex unauthorized vulnerabilities can be detected.
Owner:INSTITUTE OF INFORMATION ENGINEERING CHINESE ACADEMY OF SCIENCES +2

Test case generation enhancement method and automatic program repair method

The invention discloses a test case generation enhancement method and an automatic program repair method, the method is mainly oriented to a software program developed based on Java language, and the method specifically comprises the following steps: generating a test case by using a large language model to reproduce a fault, and performing screening according to an execution result of the test case; calculating method-level suspicious degree scores of all code snippets by combining a frequency spectrum-based fault positioning method and an information retrieval-based fault positioning method, and sorting to obtain a fault positioning sequence so as to obtain suspicious code snippets; then, a cue word is constructed to generate a patch by using a large language model; sequencing, verifying and filtering the patches, and finally submitting the first N patches in the final patch sequence as a final repair scheme. The method is suitable for method-level fault repair under the situation that a fault report exists but a trigger test is lacked, and can also be independently used for a certain step such as fault positioning and patch sorting.
Owner:ZHEJIANG UNIV +1

Code migration method and system based on holographic environment perception and dependent coevolution

The invention provides a code migration method and system based on holographic environment perception and dependent coevolution, and relates to the technical field of code migration. Comprising the following steps: analyzing a Java source code and a configuration condition of the Java source code; determining a target JDK version, combining a JDK compatibility rule and a knowledge base, identifying a part needing to be modified in the Java source code based on a large language model, and generating a modified code; modifying the configuration condition of the Java source code to obtain a modified configuration condition; the modified codes and configuration conditions are applied and verified; generating a migration report based on the verification result; and obtaining feedback of the developer to the migration report, and circulating until the modified code and the configuration condition are confirmed by the developer to obtain the target Java item after code migration. According to the method, the JDK upgrading efficiency is improved, the upgrading success rate and quality are improved, and upgrading failures caused by configuration omission or dependency problems are reduced.
Owner:HAIER CONSUMER FINANCE CO LTD

Compatible method and device of multi-version database driver, medium and equipment

The invention provides a multi-version database drive program compatible method and device, a storage medium and equipment, and the method comprises the steps: creating an independent Maven project, each branch comprises JDBC drive programs of different versions and related configuration files, carrying out class name renaming on the JDBC drive program of each version by using a maven-shade-plug-in of the Maven project, carrying out class name renaming on the JDBC drive program of each version, and carrying out class name renaming on the JDBC drive program of each version by using the maven-shade-plug-in of the Maven project; the class name of the JDBC drive program of each version is unique, a new drive program class name is configured in an META-INF / service / java.sql.Driver file of a Maven project, a Maven project construction tool is used for generating a JAR package for a specific database version, and the JAR package at least comprises the JDBC drive program with the renamed class name and the updated META-INF / service / java.sql.Driver file. According to the method, the problem of class name conflict caused by the same class name in the JDBC driving programs of different versions is effectively avoided, so that the system can flexibly identify and load the driving programs of the corresponding versions, seamless connection of various databases is supported, and the database compatibility of the system is enhanced.
Owner:BEIJING HAIZHI TECH GRP CO LTD

Java background service deployment method and system based on double-node dynamic routing

The invention relates to a Java background service deployment method and system based on double-node dynamic routing, and the method comprises the steps: obtaining the health state of each node based on TCP port activity detection and / or UDP heartbeat packet detection; judging the nodes of which the detection failure times exceed the preset times as fault nodes, and setting the fault nodes to be in an offline state; determining a traffic allocation weight according to the real-time working state of the node; performing routing distribution on the client request based on the traffic distribution weight; route distribution is dynamically adjusted based on the traffic allocation weight, the resource utilization rate of the nodes is improved, and the situation that the load of a single node is too heavy is avoided; when a fault node occurs, the other node is automatically switched to respond to the request, so that the fault switching time is shortened; and the data consistency between the double nodes is adjusted based on the Redis cluster and the MySql cluster. Based on cooperation of the steps, the problems of failure switching delay, low resource utilization and low data consistency in a traditional scheme are solved.
Owner:GUANGZHOU HAOQIN ROBOT TECHNOLOGY CO LTD

Hybrid architecture dynamic cache synchronization method based on high-concurrency scene

The invention relates to a hybrid architecture dynamic cache synchronization method based on a high-concurrency scene, and belongs to the technical field of computer Web application development. According to the method, a C + + dynamic link library is loaded when a JavaWeb application is started, and a cross-process cache storage space is constructed by utilizing a shared memory mechanism, so that data sharing among multiple instances is realized. And data interaction between Java and a C + + layer is completed by adopting a JNI interface, so that the Java garbage collection pressure is effectively reduced. Data consistency is guaranteed through an exclusive lock and read-write lock optimization mechanism, cross-instance update notification is realized in combination with event driving or message queues, and transaction type batch update is supported to ensure operation atomicity. A memory mapping file and an efficient data structure are innovatively adopted, the access efficiency is improved and the data copy overhead is reduced by combining a pre-allocation memory pool technology, the system throughput and the response speed are remarkably improved, the performance loss caused by memory fragments and lock competition is reduced, and the method is suitable for mainstream JavaWeb environments such as Spring frames and Tomcat servers.
Owner:SHANGHAI FEICHEN ELECTRONIC TECH CO LTD

Interactive Voice Response Interface to a Storage System Management Application

A textual description of a machine-readable model describing a configuration of the storage system is created. The textual description includes a plurality of textual statements, in which each individual textual statement describes a relationship between a pair of objects of the machine-readable model, or describes a relationship between a given object and a respective value of the given object. The textual statements describing the configuration of the storage system are provided as training input to a large language model to train the large language model to learn the textual description of the storage system configuration. The large language model is then used, by an interactive voice response system to respond to natural language queries about the storage system configuration. The machine-readable model may be implemented using a Java model that is annotated to identify relationships between objects that should be used to generate textual statements describing the storage system configuration.
Owner:DELL PROD LP

Log desensitization method and device, computer equipment and readable storage medium

The invention relates to a log desensitization method and device, computer equipment and a readable storage medium. The method comprises the steps that a log to be printed is obtained, and if the attribute type of an object to be printed in the log to be printed is a self-defined type, the class of the object to be printed is obtained in a Java reflection mode; if the desensitization attribute list matched with the class exists in the cache, reading the desensitization attribute list from the cache; the desensitization attribute list comprises a corresponding relation between classes and desensitization attributes; and traversing the desensitization attribute list, reading a first original attribute value corresponding to each traversal desensitization attribute for each traversal desensitization attribute in the desensitization attribute list, and desensitizing the first original attribute value according to a desensitization type corresponding to the traversal desensitization attribute to complete desensitization processing of the to-be-printed log. By adopting the method, the desensitization treatment performance can be improved.
Owner:HANGZHOU PINGPONG INTELLIGENT TECH CO LTD

Java-based industry operation permission intelligent approval system and implementation method

The invention discloses an industry operation permission intelligent approval system based on Java and an implementation method, and belongs to the technical field of computer application. The system adopts a four-layer architecture including a presentation layer, a business logic layer, a data access layer and a data storage layer. The core of the system is that the business logic layer integrates an intelligent auditing engine, a rule engine and a workflow engine; the intelligent auditing engine automatically analyzes and extracts key information in the application material through NLP and OCR technologies; a rule system based on industry classification is built in the rule engine, three-dimensional automatic verification of subject qualification, material integrity and condition conformity is executed, and regulatory terms can be mapped into executable logic; and the workflow engine automatically triggers and manages the approval process according to the verification result. According to the invention, full-process automation and intellectualization of industry operation permission approval are realized, the approval efficiency, accuracy and dynamic adaptation capability to policies and regulations are greatly improved, and the problems of low efficiency, different standards, lagging and the like existing in a traditional manual approval mode are effectively solved.
Owner:BEI JING ZHONG YAN CHUANG XIN KE JI YOU XIAN GONG SI

Intelligent object attribute cascade condition verification method and system

The invention provides an intelligent object attribute cascade condition verification method and system, and relates to the technical field of communication data processing, and the method comprises the following steps: configuring a basic type verifier annotation, configuring a dependency relationship by using a cascade condition verification mechanism, and detecting pre-acquired to-be-checked data based on a Java reflection mechanism, obtaining a detection result; based on the detection result, constructing a verification rule engine, analyzing the verification annotation through the verification rule engine, and calling corresponding verification logic to perform data verification to obtain a verification result; and according to the result type of the verification result, dynamic feedback is executed according to a preset feedback mode. Through the combined action of the dynamically-adaptive annotation system and the intelligent verification rule engine, the readability and maintainability of codes are remarkably improved, addition of self-defined verification rules is supported, and the requirements of future business development are met.
Owner:西藏云通数字科技有限公司

Java-to-Cangjie code translation method based on large model and compiling feedback

The invention discloses a Java-to-Cangjie code translation method based on a large model and compilation feedback, and particularly belongs to the technical field of software engineering program language processing, and the method comprises the following steps: step 1, performing structured semantic pre-training by constructing a grammar knowledge base of a target language, and injecting grammar prior knowledge of the target language; step 2, performing semantic enhanced supervision fine tuning training by constructing a high-quality data set containing semantic information, and enhancing semantic alignment and cross-language migration ability of the model; 3, introducing an AST structure perception embedded prompt mechanism in a parallel corpus supervision fine tuning training stage, and guiding the model to perform structure perception translation; and 4, establishing a compiler feedback repair loop, and iteratively correcting output based on error information to form a self-optimized closed-loop system. According to the method, an efficient training path is constructed, dependence on large-scale parallel corpora is effectively reduced, and an extensible and high-reliability technical path is provided for cross-language code translation of low-resource programming languages.
Owner:NANJING UNIV OF AERONAUTICS & ASTRONAUTICS

Java editor plug-in implementation method and system based on Eclipse platform

The invention provides a Java editor plug-in implementation method and system based on an Eclipse platform, and the method comprises the steps: carrying out the initialization configuration and registration of a plug-in, constructing a text editor interface capable of embedding Eclipse, achieving a grammar highlighting function, achieving a code completion function, achieving a code formatting function, and carrying out the deployment and operation of the plug-in. According to the mode, a novel plug-in system independent of a native JDT editor is constructed, visual editing of the. Java file is achieved, core functions such as grammar highlighting, code complementing and code formatting are integrated, meanwhile, butt joint with a JDT language server is supported to improve semantic analysis capacity, and finally on the premise that lightweight deployment and high compatibility are guaranteed, the semantic analysis capability of the. Java file is improved. And the Java development efficiency and the user experience are improved. By means of the technical scheme, the technical problems that in the prior art, an Eclipse Java editor plug-in is low in function integration level, insufficient in semantic support and lack of key editing functions are solved.
Owner:BEIJING RESEARCH INSTITUTE OF MECHANICAL & ELECTRICAL TECHNOLOGY CO LTD CAM

Data analysis method and device based on syntactic analysis generator

The invention discloses a data analysis method and device based on a grammar analysis generator, and relates to the technical field of data processing. Obtaining byte stream data to be analyzed in the task scene; creating a CSG grammar file according to a grammar specification of the grammar analysis generator, and defining a context-related grammar rule of a protocol; processing the CSG grammar file by using a grammar analysis generator, generating abstract syntax tree information related to the CSG grammar file, and generating a Java parser based on the abstract syntax tree information; on the basis of the generated Java parser, a CsgVisor class is self-defined, a CSG grammar file is parsed, and a Protocol protocol object is constructed; and creating a CSGPVisor accessor and a CSGPParser parser, and analyzing the byte stream data in combination with a Protocol protocol object and a preset analysis rule.
Owner:XIAN LINGKONG ELECTRONICS TECH CO LTD