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

52 results about "JAR" patented technology

A JAR (Java ARchive) is a package file format typically used to aggregate many Java class files and associated metadata and resources (text, images, etc.) into one file for distribution. It is used to store classes of java created by the user in order to help the runnable and inference concepts embedded within the language.

Methods for running R language and deploying machine learning algorithms in AnyLogic software environment

This invention belongs to the field of simulation software secondary development and specifically provides a method for running R language and deploying machine learning algorithms in the AnyLogic software environment. The method includes: creating a Jar package that carries the method; constructing a project main package, including two first-level subpackages, where the first first-level subpackage is composed of two second-level subpackages; porting the constructed project code data into the AnyLogic software environment, and using AnyLogic software to package the active objects contained in the project into a plug-in library that complies with AnyLogic software communication specifications; inserting the plug-in library into the AnyLogic IDE for testing and use; bridging the AnyLogic environment with mainstream R language machine learning packages through the plug-in library, and calling the return values ​​of the R language machine learning in real time during simulation experiments. This method overcomes the complexity and technical challenges of effectively integrating and using R language machine learning methods in AnyLogic, improving the predictive capabilities and overall simulation performance of the simulation model.
Owner:CHINA THREE GORGES UNIV

Java JAR packet encryption protection method and device, equipment and medium

The invention discloses a Java JAR packet encryption protection method and device, equipment and a medium, and the Java JAR packet encryption protection method comprises the steps: splitting a JAR packet decryption key into two fragments, and statically storing the two fragments in a starter program and a dynamic link library in a nonlinear confusion structure, thereby avoiding the exposure of a key plaintext. During starting, the starter transmits the first secret key fragment to the dynamic link library through secure inter-process communication, and the first secret key fragment is combined with the second fragment in the memory to restore a complete secret key. And during class loading, the Java agent intercepts a request and transmits an encrypted class byte code to the dynamic link library through the JNI, the encrypted class byte code is decrypted by using the restored key, and a plaintext is returned for loading. According to the method, static decompilation and dynamic memory dump attacks are prevented, and the anti-reverse and anti-leakage capabilities of Java software in a privatized deployment environment are remarkably improved.
Owner:SHENZHEN JIMI SOFTWARE CO LTD

Dynamic SQL (Structured Query Language) detection method and system, program product and storage medium and device thereof

The invention relates to a dynamic SQL (Structured Query Language) detection method and system, a program product and a storage medium and device thereof. The method comprises the following steps: deploying a Jar packet for SQL detection to a target server; configuring a javaagent parameter in a starting parameter of a to-be-detected application service of the target server, wherein the javaagent parameter specifies a path of the Jar packet on the target server; when the to-be-detected application service is started, the Java virtual machine loads the Jar packet according to the Java proxy parameters, and byte code enhancement is carried out on an SQL executor so as to insert detection logic in the SQL execution stage; and when the to-be-detected application service processes a request, executing SQL detection through the detection logic inserted by the byte code enhanced code.
Owner:HEBEI HAPPY CONSUMPTION FINANCE CO LTD

Micro-application hot deployment method and system supporting Spring annotation

The invention discloses a micro-application hot deployment method and system supporting Spring annotation, and the method comprises the steps: receiving a micro-application JAR package uploaded through a Web management platform, and enabling the micro-application JAR package to be defined based on Spring annotation; the method comprises the following steps: creating an independent class loader and an independent Spring sub-container; and loading the micro-application JAR packet through the class loader, and carrying out component scanning, registration and dependency injection through the Spring sub-container to obtain a deployed micro-application. The method supports JAR packet uploading through a Web end to realize Spring annotation-based development, automatic registration, hot update and interface isolation, can improve the construction efficiency and data service response speed of a service system, and can be widely applied to the technical field of computer software.
Owner:CHINA ENERGY ENG GRP GUANGDONG ELECTRIC POWER DESIGN INST CO LTD

Method and system for automatically collecting dependency during operation based on Java proxy

The invention relates to the field of computer software engineering, and provides a Java agency-based runtime dependency automatic acquisition method and system, and the method comprises the steps: injecting an Agent into a JVM in a non-intrusive manner through a javaagent parameter when a Java application is started; registering a class file converter in the Agent to monitor a class loading process; collecting system operation environment information; when a class loading event is monitored, the type of a class loader is identified, and specific modes are adopted for the three main types respectively to extract the real paths of the loaded JAR files; filtering and de-weighting the extracted paths; and finally, integrating the dependence information and the system information and asynchronously outputting the dependence information and the system information as structured data. The problems that static analysis cannot reflect dependency during operation, and an existing APM tool is coarse in collection granularity and does not support asset list generation are solved.
Owner:SSE INFORMATION NETWORK LTD

CRON-based routing machines and processes to schedule and execute java code excerpts across fault-tolerant load-balanced distributed servers running JVM namespaces

A routing process schedules and executes Java code excerpts across backend servers. A route table contains routes to be executed in JVM namespaces on servers and identifies for each route a Jar file containing applicable classes and methods to be executed at a CRON time. During execution, methods are retrieved from each applicable class and are executed to extract data from backend devices. The servers transform the extracted data into frontend data and load it onto frontend storage devices. Only the classes and methods in the Jar file for a route need be executed. Complete Java programs need not be run.
Owner:BANK OF AMERICA CORP

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

The application provides a code data access relationship extraction method and system for data security verification, comprising the following steps: step S1, processing a.jar format code file to be analyzed, and outputting a coarse-grained data access relationship graph; step S2, based on the code file and the coarse-grained data access relationship graph, constructing and outputting a corresponding list of method nodes and code directories; step S3, based on the code file and the coarse-grained data access relationship graph, constructing an access relationship list between role nodes and database fields. The application uses the characteristics of the Java language and the natural language understanding ability of the large language model to solve the problem of automatic extraction of the access relationship between the role nodes and the database fields in the website source code, can analyze the input java website source code, extract the complete call link from the user to the database field, and can judge the specific return condition and the verification condition of the data field, so that the accurate data access extraction effect is achieved.
Owner:SHANGHAI JIAOTONG UNIV

Method, system and product for dynamically detecting service hotspot based on Java Agent

The invention relates to a method, system and product for dynamically detecting a service hotspot based on a Java Agent, and the method comprises the following steps: configuring a Java proxy parameter in a JVM starting parameter of a target application service, the Java proxy parameter pointing to a path of a proxy JAR packet; starting the target application service, loading and initializing a Java Agent in the proxy JAR packet by a JVM (Java Virtual Machine) according to the Java proxy parameter, and performing byte code enhancement on a predetermined target method in the target application service through the Java Agent so as to implant a monitoring logic; collecting execution information of the method in real time when the enhanced target method is executed through the implanted monitoring logic; analyzing the execution information in real time according to at least one preset dynamic rule; and when the real-time analysis result meets the dynamic rule, judging that the target method is a hotspot method.
Owner:HEBEI HAPPY CONSUMPTION FINANCE CO LTD

Method for automatically generating Binder communication SDK (Software Development Kit) of Android system

The invention relates to the technical field of computer software, in particular to a method for automatically generating an Android system Binder communication SDK (Software Development Kit), which comprises the following steps: defining an AIDL interface source file and compiling to generate a JAR packet; defining an interface configuration JSON file; executing a pre-generation program, and creating an annotation mark Java file; integrating the annotation processor and compiling to generate a final SDK file, wherein the generation process of the final SDK file comprises the following steps: registering and triggering the annotation processor, analyzing the annotation, analyzing an AIDL interface method, constructing a code model and generating the SDK file; and using the generated SDK file. The technical problems that in existing Android application development, due to the fact that Binder communication bottom layer template codes are manually written, the development efficiency is low, the codes are redundant and prone to errors, and unified maintenance is difficult are solved, and normalization and consistency of communication codes among multiple services are fundamentally guaranteed.
Owner:CHINA FAW CO LTD +1

A method for reducing jar package volume and fast deployment

The present application belongs to the technical field of installation package deployment, and specifically discloses a method for reducing Jar package volume and rapid deployment, which improves the accuracy and safety during recovery under the premise of effectively reducing the Jar package volume. In order to achieve the purpose, the present application comprises a slimming Jar construction packaging stage, a global public dependent package hierarchical construction and storage stage, and a business package dynamic recovery stage; the generated business Jar package is subjected to minimization processing, and then the global public dependent package hierarchical construction is performed, only the business logic code and necessary dependent metadata are retained; the original Jar is traversed, only the non-stripped dependent is written, the full dependent sequence list and the actual non-written dependent list are recorded and stored synchronously; dynamic recovery is performed as needed. According to the technical scheme, the business package volume is reduced by 60%-80%, the file download time consumption during cluster deployment is reduced by more than 90%, and it is ensured that the recovered Jar package is 100% consistent with the original package in structure and dependent sequence, so that service startup failure is avoided.
Owner:ZHEJIANG FINGARD TECH CO LTD

Service management method, device and terminal equipment based on public jar package

This invention discloses a service management method, apparatus, and terminal device based on a common JAR package. The method involves acquiring a common JAR package to be imported into a service system, importing the JAR package into the service system, generating a corresponding backend management system based on the common JAR package, obtaining application information input through the backend management system, and invoking the service system's interfaces based on the application information. This approach not only reduces code redundancy and improves security, but also allows service providers to better understand interface call behavior. Furthermore, it provides developers with more convenient debugging tools, reduces repetitive maintenance costs for programmers, and thus improves work efficiency.
Owner:PING AN BANK CO LTD

Protection method, device, equipment and storage medium

The present invention discloses a protection method, apparatus, device, and storage medium. The method comprises: performing binary conversion on copyright information to obtain target data; determining at least one target bytecode file in a jar package based on the target data; and updating the stack value of a method in the at least one target bytecode file based on the target data. The technical solution of the present invention enhances the anti-steganographic attack capability by writing copyright information into the bytecode file, thereby achieving the purpose of protecting copyright. By using steganography to write copyright information into the bytecode file, when other companies use the file, or even modify the file, they can still easily prove the copyright ownership of the code file through the written copyright information.
Owner:SHANGHAI PUDONG DEVELOPMENT BANK

Supply chain low-code platform service management method, equipment and medium

The invention discloses a supply chain low-code platform service management method and device and a medium, and the method comprises the steps: receiving and analyzing Java method semantic information in a Jar package file to generate a standardized service number, or analyzing a protocol type and a parameter format of external API address information, and extracting service attribute data to generate service operation recommendation data; generating service registration information after confirmation of the developer, and storing the service registration information in a database to construct a service portrait; in response to the service calling request, executing data format conversion and protocol adaptation operation of calling parameters based on a machine learning model; acquiring a service calling log, identifying an abnormal calling event based on a preset abnormal detection model, and pushing abnormal early warning information to a developer; and constructing a user portrait based on developer information, matching and recommending an adaptive service set for the developer based on the user portrait and the service portrait, and allowing the developer to position a target service through semantic search.
Owner:SHANDONG INSPUR DIGITAL SUPPLY CHAIN TECH CO LTD

A method and system for merging Android SDKs that distinguish between uppercase and lowercase classes

PendingCN122387497APathPingFile system
The application discloses a kind of for case distinction Android SDK merging method and system, and the method specifically includes: in response to construction instruction, the AAR / JAR file to be merged is decompressed to temporary working directory;Based on path conflict discrimination model, scan the class file path in temporary working directory, identify out potential conflict path set;For each logical path in potential conflict path set, generate mapping identifier, and according to mapping identifier, the class file corresponding to original logical path is added to the compiled code path list of Gradle construction system;According to path mapping relationship table, the class file in compiled code path list is packaged into JAR file, and is packaged into AAR file, generates target AAR file.The application effectively solves the class file path conflict problem caused by case distinction Android SDK merging in that file system does not distinguish case, and guarantees the normal operation of project.
Owner:ANHUI SANQI JIYU NETWORK TECH CO LTD

Test case derivation method based on JMeter

The invention discloses a JMeter-based test case derivation method, which comprises the following steps of: inheriting an AbstraactJavaSampler Gui abstract class in a JMeter framework through a Sampler sampler according to an obtained test case data object, reserving a default name of the data object, and resetting a static display name of the data object; the method comprises the following steps of: inheriting an AbstraactJavaSampler Client abstract class in a JMeter framework, and initializing and modifying a method of the AbstraactJavaSampler Client abstract class so as to adjust processing logic of data; and compiling the derived test case into a JAR package, and deploying the JAR package to a specified directory to realize plug-in loading. According to the method, by inheriting the abstract class of the JMeter framework and realizing plug-in loading, the problems that in the prior art, the reusability of a test case is poor, complex logic depends on codes, and the plug-in development threshold is high are solved, the test efficiency is improved, the development cost is reduced, and the flexibility and stability are enhanced.
Owner:INSPUR GENERSOFT CO LTD

Dynamically Adaptable User Interface

A computer-implemented method is provided for dynamically altering a user interface (UI) display by a computer-implemented method for altering a computer monitor display without recompilation of code. The method includes developing the UI display in FXML syntax that creates an FXML file. Data for display are mapped to particular fields in the UI display, within the FXML file. A JAVA Archive (JAR) file with the FXML file is deployed to a client device. The JAR file is executed with the FXML file to produce the UI display on the client device. The displays on the UI display are populated as defined by the FXML file.
Owner:USA AS REPRESENTED BY THE SECRETARY OF THE NAVY

Method and apparatus for proving a shared database connection in a batch environment

An apparatus provides an operating system service that receives, from an application in a batch environment, a plurality of database transactionality calls associated with a first program of the application, the first program having a first addressability mode. In response to at least one of the plurality of database transactionality calls, the operating system service provides a shared database connection to a database for the first program of the application and for a second program of the application that has a different and second addressability mode. In some implementations, the operating system service provides the shared database connection using one or more of a plurality of callable database transactionality classes, such as a plurality of callable Java classes in a Java archive (JAR) file.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Kubernetes container cloud X86 and ARM architecture hybrid rapid deployment method, device and medium

The invention discloses a kubernetes container cloud X86 and ARM architecture hybrid rapid deployment method, equipment and a medium, belongs to the technical field of software deployment, and aims to solve the technical problem of how to realize kubernetes container cloud X86 and ARM architecture hybrid rapid deployment, reduce development and operation and maintenance cost and improve the development efficiency. According to the technical scheme, the method comprises the following steps: directly deploying a jar package generated by compiling based on an X86 server and an ARM server to a container cloud, and no longer compiling a Dockerfile to construct a mirror image; the method specifically comprises the following steps: compiling a latest code to generate an application package; the method comprises the following steps: providing an X86 and ARM operating system basic mirror image containing a program running environment; uploading the application packet to the FTP according to the service requirement; the application package runs in the Pod, and the Pod is provided with one or more Init containers which are started earlier than the application container.
Owner:SMART QILU (SHANDONG) BIG DATA TECH CO LTD

Web application merging method and platform based on java and medium

The invention discloses a web application merging method and platform based on java and a medium. The application merging method comprises the steps that a merging service of web applications is created at a web end, and related jar package files and related configuration files which need to be merged by the merging service are uploaded to a merging service platform; the merging service platform generates an executable file containing the merging service, wherein the executable file comprises a service execution jar package, a merged jar package and a configuration file of the merged jar package; and the web end queries related merging services from the merging service platform, and the merging service platform returns the merged services to the web end in the form of a compressed file package containing the executable file and executes the merged services. According to the method, a plurality of web applications can be merged into one application for deployment, the resource dependence of the server is reduced, the existing web applications do not need to be transformed, the merging of the plurality of web applications can be quickly realized, and the manual transformation cost is reduced.
Owner:XIAMEN LEELEN TECH CO LTD

Method and device for front-end project deployment, electronic equipment and storage medium

The embodiment provides a front-end project deployment method and device, electronic equipment and a storage medium, and belongs to the technical field of artificial intelligence and research and development management. The method comprises the following steps: acquiring front-end code to be published in a front-end project, and determining project information corresponding to the front-end code; constructing a JAR package based on the front-end code and the project information corresponding to the front-end code, and recording the sealing time of the JAR package; storing the JAR package after setting an effective time of the JAR package, so that the JAR package is tested by a back end; in the case that the back end completes the test on the JAR package and the effective time of the JAR package is determined, the JAR package is published, and the publishing time of the JAR package is recorded; and resources of JAR packages not yet published in the front-end project are updated based on the published JAR packages in the front-end project. The application can finely manage the deployment of a large number of front-end projects and provide personalized configuration.
Owner:CHINA PING AN LIFE INSURANCE CO LTD

An Automated Method for Discovering Java Spring SQL / SSRF Vulnerabilities Based on Parameter Flow Simulation

This invention relates to the field of computer security and proposes an automated method for discovering Java Spring SQL / SSRF vulnerabilities based on parameter flow simulation. The method includes the following steps: S1, parsing the class files compiled from the source project in the JAR package to be discovered, traversing the class files in the JAR package, and extracting the input parameters of the Mapping methods under the Controller as the starting point for taint analysis, serving as the source of taint propagation; and performing vulnerability chain detection based on the method set S-1, the SQL injection vulnerability taint function set S-2, and the SSRF taint function set S-3 propagated step-by-step by the method parameters. This invention aims to improve the accuracy and coverage of existing static analysis tools in identifying SQL / SSRF vulnerabilities in the Java Spring framework, offering advantages such as high efficiency, accuracy, and high coverage.
Owner:HANGZHOU DIANZI UNIV

Database adaptation method, device, storage medium and program product

Embodiments of the present application provide a database adaptation method and device, a storage medium and a program product. The method comprises loading and executing a method file and a rewritten SQL file in a JAR package of a database to be adapted when starting Flowable, to complete initialization of the Flowable, and operating the database to be adapted based on the initialized Flowable. The database adaptation method provided by the embodiments generates a SQL file and a method file suitable for the database to be adapted according to the syntax of the database to be adapted, and completes the initialization of the Flowable based on the files, so as to adapt the Flowable to the database to be adapted, without rewriting the source code in the Flowable package, thereby reducing the maintenance difficulty, improving the security, and ensuring the encapsulation of the open source code.
Owner:CHENGDU TD TECH LTD

A method for parsing FlinkUDF functions from a JAR file

This invention provides a method for parsing FlinkUDF functions from JAR files, comprising: reading the JAR file to be parsed; parsing the read JAR file to obtain class files; transferring the bytecode class files to an ASM bytecode parsing engine; the ASM bytecode parsing engine parsing the bytecode class files, combining the extracted related content with input parameters and return value information to form a new UDF function, and returning it to the requester. The method for parsing FlinkUDF functions from JAR files provided by this invention has the following advantages: 1) This invention solves the problem of excessive memory consumption when parsing JAR files. 2) This invention solves the problem of severe time consumption when parsing JAR files. 3) This invention solves the problem of needing to load dependencies when JAR files depend on each other.
Owner:4399 NETWORK

Configuration file loading method, apparatus and device

Embodiments of the present application provide a configuration file loading method, device and equipment, the method is applied to a server, the method comprises the following steps: before a preset third-party jar package in a project loads a local configuration file, sending request information to a configuration center, so that the configuration center returns target configuration information according to the request information; the project runs on the server; receiving the target configuration information, and loading the received target configuration information, generating a local configuration file meeting the requirements, so that the third-party jar package calls the local configuration file during running, the method obtains the required target configuration information before the third-party jar package loads the configuration file, and stores the target configuration information as a local configuration file according to preset requirements, without manual processing of the configuration file, so that the automatic loading of the configuration file can be realized, and the running efficiency of the jar package is improved.
Owner:CHINA UNITED NETWORK COMM GRP CO LTD +1

Message generation request body method and device, computer device and storage medium

The present application belongs to the field of software testing, and relates to a message request body generation method and device, computer equipment and a storage medium. The method comprises the following steps: defining the keys and values of the interfaces that need to request the interfaces, and the strings of the fields that need to be parameterized; acquiring the strings of the fields that need to be expanded and parameterized in all items; adding the strings of the fields that need to be expanded and parameterized in the items into a Map; acquiring the number of items to be expanded from a response result, and passing the acquired parameters to an encapsulation class JsonItemExpander; calling the encapsulation class JsonItemExpander through an imported ly.mp.ms.common.jar; outputting the message after the items are expanded; and setting the output message character into an MS parameter. The interface automation case is more flexible, does not depend on fixed design data, and can be directly run normally by automatically matching different data.
Owner:SHENZHEN LANYOU TECHNOLOGY CO LTD

Version adaptation method, device, electronic device and storage medium

The present invention discloses a version adaptation method, device, electronic device, and storage medium, relating to the field of computer technology. The method comprises: loading the startup class of the current application through a preset first class loader; if the type of the current application is determined to be a web application in the startup class, obtaining a jar dependency file to be adapted from the dependency library directory of the current application; unpacking the jar dependency file to be adapted and selecting a target bytecode file related to class loading; determining a call location for calling the target bytecode file in a search class method of the first class loader, and inserting a preset version adaptation method after the call location; adapting the target bytecode file according to the version adaptation method to obtain an adapted bytecode file; and replacing the target bytecode file with the adapted bytecode file. The present invention effectively achieves compatibility with the currently running JDK version when loading the adapted bytecode file.
Owner:HANGZHOU NEWGRAND TECHNOLOGY CO LTD

Java project deployment method and device, electronic equipment and storage medium

The invention discloses a Java project deployment method and device, electronic equipment and a storage medium. The method comprises the following steps: determining deployment information of a target Java project, wherein the Java project deployment information comprises a belonging micro-service, a git warehouse address, a branch name, a source code directory, a construction path, a Jar path, a mapping port and a context path; determining environment variable information of the target Java project; and deploying the target Java project based on the deployment information and the environment variable information. Deployment information of a target Java project is determined, the Java project deployment information comprises a belonging micro-service, a git warehouse address, a branch name, a source code directory, a construction path, a Jar path, a mapping port and a context path, environment variable information of the target Java project is determined, and the target Java project is deployed based on the deployment information and the environment variable information. The Java project deployment method and device can realize quick deployment of the Java project.
Owner:SHENZHEN COMTOP INFORMATION TECH

Method and appratus for proving a shared database connection in a batch environment

An apparatus provides an operating system service that receives, from an application in a batch environment, a plurality of database transactionality calls associated with a first program of the application, the first program having a first addressability mode. In response to at least one of the plurality of database transactionality calls, the operating system service provides a shared database connection to a database for the first program of the application and for a second program of the application that has a different and second addressability mode. In some implementations, the operating system service provides the shared database connection using one or more of a plurality of callable database transactionality classes, such as a plurality of callable Java classes in a Java archive (JAR) file.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Java agent-based runtime dependency automatic acquisition method and system

The application relates to the field of computer software engineering, and provides a Java agent-based runtime dependency automatic acquisition method and system, which comprises the following steps: non-invasively injecting an agent into a JVM through a -javaagent parameter when a Java application is started; registering a class file converter in the agent to monitor a class loading process; acquiring system running environment information; when a class loading event is monitored, identifying a class loader type, and for the three main types, respectively adopting specific modes to extract real paths of JAR files loaded; filtering and deduplicating the extracted paths; and finally integrating dependency information and system information and asynchronously outputting the same as structured data. The application solves the problems that static analysis cannot reflect runtime dependency and that existing APM tools have coarse acquisition granularity and do not support asset list generation.
Owner:SSE INFORMATION NETWORK LTD

Cobol code conversion deployment method and device and medium

PendingCN121996250AImplement automatic conversion deploymentCode compilationJavaJAR
The invention discloses a Cobol code conversion deployment method and device and a medium, and the method comprises the steps: receiving an original Cobol code, carrying out the standardization processing of the original Cobol code, outputting a standardized Cobol code, carrying out the partition structural analysis of the standardized Cobol code, and obtaining a target parsedredge data structural body; respectively generating a Java public code part and a Java service code part by adopting a preset conversion tool and a preset large model based on the target parsedredge data structure body, and combining to obtain a target Java engineering code; according to the technical scheme, the target Jar package is obtained after the target engineering code is compiled and packaged, finally, the target Jar package is deployed into the target environment through the preset deployment platform, and the technical problems of poor Cobol code conversion precision and low efficiency in related technologies are solved through standardized processing, partition structured analysis, code collaborative generation and compilation deployment.
Owner:VIVE&BEST INFORMATION SERVICE