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

681 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

Automatic incremental compiling method and system for Java development

The invention provides an automatic incremental compiling method and system for Java development, and the method comprises the steps: carrying out the hash value verification of an obtained Java source code, and obtaining the change event information in the Java source code; extracting static dependency information and a dynamic calling relation from the change event information, and generating a relation dependency graph according to the static dependency information and the dynamic calling relation; based on the relation dependency graph, generating a compiling task queue by utilizing a topological sorting algorithm; compiling the change event information in the Java source code according to the compiling task queue to obtain a machine code corresponding to the change event information; according to the method, code change information is accurately positioned through hash value verification, so that the initial range of incremental compiling is favorably reduced; according to the method, the static dependency information and the dynamic calling relation are extracted from the change event information, the relation dependency graph is generated, the dependency relation between the code units is completely represented, the problem that the dynamic calling relation is omitted is solved, and compiling correctness and efficiency are improved.
Owner:BAO DAFANG TECH CO 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

Code data access relation extraction method and system for data security check

The invention provides a data security check-oriented code data access relation extraction method and system, and the method comprises the following steps: S1, processing a to-be-analyzed code file in a. Jar format, and outputting a coarse-grained data access relation graph; s2, constructing and outputting a corresponding list of method nodes and code directories based on the code file and the coarse-grained data access relation graph; and S3, based on the code file and the coarse-grained data access relation graph, constructing an access relation list between role nodes and database fields. By utilizing the characteristics of Java language and the natural language understanding ability of a large language model, the problem of automatic extraction of the database field access relation by role nodes in website source codes is solved, the input java website source codes can be analyzed, a complete calling link from a user to the database field is extracted, and the user experience is improved. And the specific return condition and verification condition of the data field can be judged, so that an accurate data access extraction effect is achieved.
Owner:SHANGHAI JIAOTONG UNIV

Question and answer strategy construction method based on Java language and large model

The invention discloses a question and answer strategy construction method based on a Java language and a large model. The method specifically comprises the following steps: preprocessing question data based on the Java language; the corresponding domain model receives the preprocessed problem data, vector matching is carried out based on a QA knowledge base, and a matching score is set; selecting a corresponding cue word template from a preset cue word template library based on features extracted from the question data, and then calling a large model to generate answer data; inputting the answer data into a client library, and forming customer evaluation data after customer evaluation; counting and analyzing the reply accuracy and generating a report based on customer evaluation data; and setting a threshold value of the accuracy rate of the reply. According to the method, the Java language and the large model are combined, data reading, cleaning, feature extraction and domain model matching are efficiently and accurately processed, the precision and stability of follow-up question and answer strategy construction are improved, diversified user requirements are met, and complex problem scenes are dealt with.
Owner:TRANSN IOL 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

JAVA fuzzy testing method based on program analysis

The invention provides a JAVA fuzzy testing method based on program analysis. The JAVA fuzzy testing method comprises the steps that a binary file package of a tested program is obtained; aST analysis is carried out on the binary file package; all layers of nodes of a syntax tree of the binary file package are analyzed, and all conditional branches under all classes and all methods are obtained; analyzing a calling link relationship of each branch judgment parameter of the binary file package through reverse derivation of calling of each layer of nodes; and judging whether the calling link relationship is single-interface calling or cross-interface calling. According to the JAVA fuzzy test method based on program analysis provided by the invention, the interface parameters and the test case data of the interface calling sequence can be obtained through program analysis, and the service logic which is difficult to explore by fuzzy test can be greatly increased, so that the coverage rate of the tested object is increased, and the test efficiency is improved based on the improvement of the coverage rate. The number of paths explored by the fuzzy test is increased, and more non-overdue defects can be prompted to be found.
Owner:SHANGHAI ANBAN 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

Link tracing method and device

PCT designated stage expiredWO2025010980A1Securing communicationJavaPhysical network
The present application relates to the technical field of cloud, and provides a link tracing method and device, which are applied to a cloud server. The cloud server comprises a Java proxy module and an eBPF module. The Java proxy module determines an application call chain, and the eBPF module determines an infrastructure call chain. The application call chain is associated with the infrastructure call chain by means of a trace identifier and a span identifier. The Java proxy module reports to the eBPF module an association relationship between a packet feature code, and the trace identifier and the span identifier, so that the eBPF module parses an encrypted packet. Therefore, according to the call chain tracing method provided by the embodiments of the present application, a distributed application call chain can be associated with an infrastructure call chain of a virtual network and a physical network, so that full-link tracing can be realized.
Owner:HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

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

Memory horse detection method and device, electronic equipment and readable medium

The invention relates to a memory horse detection method and device, electronic equipment and a readable medium, and the method comprises the steps: monitoring a call event in a system, and determining a suspicious class on a JVM (Java Virtual Machine) which is subjected to abnormal call under the condition that abnormal call is detected; decompiling the suspicious class to obtain a Java source code of the suspicious class; the initial score of the Java source code on each evaluation dimension is output through a preset language model, and each evaluation dimension is a plurality of dimensions used for evaluating whether memory horse features exist in the code or not; and performing comprehensive calculation on each initial score according to a preset scoring rule to obtain a total evaluation score, and determining a memory horse detection result of the suspicious class through the total evaluation score. According to the method, after the abnormal calling behavior of the system is detected, the suspicious class is found out, then the Java source code of the suspicious class is evaluated from multiple dimensions, whether the memory horse features exist in the suspicious class or not is determined, and the problem that the memory horse features in the Java class cannot be comprehensively detected is solved.
Owner:BEIJING QIYI CENTURY SCI & TECH CO LTD

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

Low-code software development system

The invention provides a low-code software development system, which is responsible for acquiring a creation demand of a user about a Java project through a project management module, and comprises a source code mode and a Jar package mode. The code generation module generates codes and external dependency information according to requirements by using a large language model in a source code mode. And the Jar packet management module manages and calls the shared Jar packet, the project Jar packet and the extended Jar packet according to requirements in the Jar packet mode. The deployment management module completes project deployment through an independent class loader based on an amphiphilic delegation mechanism, and the method calling module dynamically calls a loaded Jar packet based on a Java reflection mechanism. According to the system, through automatic code generation and a flexible deployment mechanism, the development efficiency is remarkably improved, the development cost is reduced, meanwhile, the expandability and stability of the system are guaranteed, and the system is suitable for rapidly constructing and deploying Java projects.
Owner:BEIJING MT HIRISUN TECH +1

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