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

74 results about "Java virtual machine" patented technology

Business process construction method combining workflow engine and dynamic form

The invention provides a business process construction method combining a workflow engine and a dynamic form, which relates to the technical field of low-code platforms, and comprises the following steps of: establishing a data table according to a business, selecting and importing the data table in a code generation module, generating a basic code package, re-operating a main program compiling code package and loading the code package to a JVM (Java Virtual Machine) operating environment; creating a dynamic form on the basis of the entity class information of the code package through a visual form designer of the dynamic form module, and outputting dynamic form configuration in a JSON (JavaScript Object Notation) format; according to the method, the dynamic form and the process engine are combined, highly flexible business process design can be realized, a user can dynamically design the form and the process model as required to meet different business requirements, and the user-defined component can be designed according to a business data structure and common functions, so that the form can better adapt to a specific business scene, and the user experience is improved. And the user experience and the working efficiency are improved.
Owner:ZHONGJIN TECH (GUANGDONG) CO LTD

Novel script development method based on JVM

The invention discloses a novel script development method based on a JVM (Java Virtual Machine), which comprises the following steps of: S1, setting a script permission list and a script forbidding list in a system configuration file, setting an initial variable and configuration information of a script, and monitoring the change of the configuration file by using an observer mode; s2, collecting external input data by utilizing a response type programming library, performing conversion processing by taking the external input data as an event, and adding the external input data into a script running context; s3, analyzing script contents into marks and nodes, and constructing an abstract syntax tree; s4, checking whether the variables of the abstract syntax tree accord with the permission and prohibition lists in the configuration file or not; s5, traversing the abstract syntax tree, and executing node logic of the abstract syntax tree; and S6, collecting execution results of all nodes, and returning the results to a caller. According to the method, configuration changes are monitored through an observer mode, syntax analysis and security check are carried out in combination with an abstract syntax tree, and the functions of script online development and real-time adjustment are achieved.
Owner:SUZHOU REKTEC INFORMATION TECH CO LTD

Class preloading method and device for Java micro-service cold start acceleration

The invention discloses a class preloading method and device for Java micro-service cold start acceleration, and belongs to the technical field of cloud computing and Java virtual machine optimization. The method comprises the steps of class dependency analysis based on a historical call chain, hierarchical class preloading execution and shared memory snapshot management. The device comprises a class analysis engine, a preloading decision maker and a memory snapshot management and JVM optimization adaptation module. Through intelligent analysis of class popularity, hierarchical preloading and combination of a cross-JVM instance memory sharing technology, the Java micro-service cold start time is reduced from average 4.2 s to 0.8 s, memory occupation is reduced by 45%, compatibility with a standard JVM and a mainstream framework is kept, and the method is suitable for financial transaction, real-time recommendation and other micro-service applications in a Serverless scene.
Owner:BEI JING ZHONG YAN CHUANG XIN KE JI YOU XIAN GONG SI

Code tracking method and device, electronic equipment and computer readable storage medium

The invention discloses a code tracking method and device, electronic equipment and a computer readable storage medium, code tracking is applied to a code tracking system, and the code tracking system at least comprises one terminal equipment; a Java virtual machine is deployed in the code tracking system; the method comprises the following steps: starting a Java virtual machine; when the Java virtual machine is started, loading a preset agent library locally stored in the terminal equipment and a first code file corresponding to the Java application; running the first code file, and calling a preset agent library to monitor a code execution path of a target source code corresponding to the first code file; outputting path information associated with the code execution path; the path information comprises each execution step recorded according to the execution sequence, and the record of each execution step at least comprises the line number of the executed target source code in the source code file of the Java application. According to the method, tracking of the full-link code execution path with low intrusion, high compatibility and row-level precision can be realized.
Owner:ALIBABA (CHINA) CO LTD

Task execution method and system based on dynamic class loading

The invention provides a task execution method and system based on dynamic class loading, and belongs to the technical field of computers.The task execution method comprises the steps that a basic platform class loader is created, and a connector index is constructed in the basic platform class loader; respectively creating a task class loader group, a strategy class loader group and a connector class loader group, wherein each group enables each loaded JAR packet to generate an independently isolated class loader; after the task and strategy class loader receives the class loading request, the class loading request is transmitted to the basic platform class loader according to the delegation of the parent delegation mechanism; according to a class loading request, a connector class loader corresponding to a class requested to be loaded is positioned through a connector index, and after a class object is created according to the class requested to be loaded, the class object is returned to a strategy class loader and a task class loader according to a delegation path. According to the method, the running resources of the Java virtual machine are deployed in advance, and the class loader is used for pre-allocating the resources, so that the starting time during task execution is shortened.
Owner:YUSYS TECH CO LTD

Code hot deployment method based on Grouping and configuration center

The invention provides a code hot deployment method based on a Grouping and a configuration center, which comprises the following steps of: integrating a Grouping script-using a template design mode, extracting a dynamic code of business logic, and adding the dynamic code to the Grouping; the method comprises the following steps: introducing a GraovyClassLoader, loading the GraovyClassLoader into a JVM (Java Virtual Machine) of JAVA, and calling the GraovyClassLoader; the quoted symbolic link is that in the JVM, the definition name of the newly loaded Class is replaced; according to the method, the changed codes are compiled into the byte codes in real time by utilizing the dynamic compiling characteristic of the Groupy, and the new configuration information and the application codes are pushed to each application node through a real-time pushing mechanism of the configuration center. After the application node receives the new configuration information and code, the application node can dynamically load and replace the original configuration and code, so that the rapid updating and deployment of the application are realized, more complex code change and dynamic loading can be realized, and the flexibility and expandability of the application are further improved.
Owner:BEIJING BAIJU YIXING TECH CO LTD

Compilation and execution of code changes within a running java virtual machine

Systems and methods for implementing an embedded compiler running within a Java Virtual Machine that recompiles code changes on-the-fly are disclosed. An embodiment of the present invention is directed to using scripts within an application codebase to define what actions to take following a code change and recompilation on a particular set of code. An embodiment of the present invention ensures that the new code is made available to the rest of the live running system in a way that avoids class or data version conflicts.
Owner:MORGAN STANLEY SERVICES GROUP INC

Distributed caching method, system and equipment based on database and JVM (Java Virtual Machine)

The invention relates to the field of data caching, and discloses a distributed caching method, system and device based on a database and a JVM. A host information table in a database is obtained, and nodes are configured according to the host information table, so that a distributed cluster is constructed; any node in the distributed cluster is used as a Me host, and the remaining nodes in the distributed cluster are used as Bro hosts; in response to a request instruction of any cache object, the corresponding cache object in the cache of the Me host is obtained for response according to the request instruction, and the request instruction comprises at least one of a deletion request, an updating request and an obtaining request; according to the response result, the request instruction is sent to the cache service of the Bro host according to the user identifier, distributed cache processing is achieved, no time consumed by network communication and deserialization exists, and at least 10-25 ms time delay is saved; through the distributed cache, the access speed of the data is improved, and the expansibility and fault tolerance of the system are enhanced.
Owner:广域铭岛数字科技有限公司 +1

Dynamic memory optimization method and system based on JAVA virtual machine

The invention relates to the technical field of JAVA virtual machines, in particular to a dynamic memory optimization method and system based on a JAVA virtual machine, and the method comprises the following steps: monitoring the use state of a Java heap memory in real time, dynamically adjusting a garbage collection trigger threshold, optimizing a memory allocation strategy, and performing a parallel marking-sorting mechanism; the method has the beneficial effects that the GC pause time is reduced by 30%-50% by dynamically adjusting the GC trigger threshold value and a parallel marking-sorting mechanism; experimental data show that under 1000 concurrent requests, the GC dwell time is reduced from average 200 ms to 100 ms or below. And after the memory allocation strategy is optimized, the memory fragmentation rate is reduced to be less than 5%.
Owner:BEIJING INSPUR CLOUD COMPUTING 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

Systems and methods for Java virtual machine management

A virtual machine (VM) management utility tool may deploy an object model that may persist one or more virtual machine dependencies and relationships. Through a web front-end interface, for example, the VMs may be started in a specific order or re-booted, and the tool automatically determines the additional VMs that need to be re-booted in order to maintain the integrity of the environment. Through the web interface, for example, the object model may be managed, and start-up orders or VM dependencies may be updated. For VMs that may not start under load, the object model may block access to the VM until the VM is fully initialized.
Owner:INTEL CORP

Java virtual machine runtime data obfuscation

A heap dump of a running application is obtained. For each object of one or more objects in the heap dump, the object may be obfuscated based on its class loader. A class loader of a class of the object is identified. A determination is made as to whether the class loader is of an application-specific class loader type. In response to determining that the class loader is of the application-specific class loader type, the object is obfuscated. The class loader is of an application-specific class loader type if is an application class loader or a custom class loader.
Owner:ZOOM COMMUNICATIONS INC

Communication connection channel dynamic management method and device based on aspect program

The embodiment of the invention discloses a communication connection channel dynamic treatment method based on a section program, and the method comprises the steps: modifying a legal connection source of a target application through injecting the section program into a native layer of a java virtual machine, and intercepting an illegal connection source in a communication channel building process. Therefore, the defense strategy of the JDWP channel can be dynamically adjusted according to requirements, and JDWP channel intrusion can be effectively defended. According to the method, only the permission of the container where the target application is located needs to be obtained, host machine permission does not need to be obtained, and strong dependence on the kernel version is avoided. The communication connection channel dynamic management device based on the aspect program, the storage medium and the electronic equipment also have the above beneficial effects.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Python operator scheduling method and device based on streaming computing framework, and storage medium

The invention discloses a python operator scheduling method and device based on a streaming computing framework, a storage medium and computer equipment. The method comprises the steps that a task submitting end submits a task execution request to a streaming computing management service; the streaming computing management service responds to the task execution request, generates a target task containing a main program file, and sends the target task to a streaming computing cluster; the streaming computing cluster receives a target task, and executes a main program file through a Python execution environment integrated in a streaming computing framework, so as to call a user-defined data source component and a user-defined data output component running on a Java virtual machine through a communication channel between a Python virtual machine and the Java virtual machine, and constructing a data processing assembly line through the user-defined data source component, the user-defined data output component and the data processing logic defined in the main program file, and triggering the data processing assembly line to be executed in the streaming computing framework.
Owner:BEIJING GUODIAN ZHISHEN CONTROL TONGDY

Performance optimization method and device of Java virtual machine, equipment and medium

The invention discloses a performance optimization method and device of a Java virtual machine, equipment and a medium. The method is applied to a Java virtual machine system and comprises the following steps: when a Java virtual machine carries out service processing, collecting real-time system data, and obtaining memory prediction data; performing memory prediction on the memory prediction data through a preset memory prediction model to obtain a predicted memory demand; and performing corresponding optimization adjustment on thread resources and cache memory in the system according to the predicted memory demand, the current available memory and a preset optimization strategy. By implementing the method provided by the invention, the problem of low application efficiency of the Java virtual machine in the prior art can be solved.
Owner:CHINA PING AN LIFE INSURANCE CO LTD

Java memory horse detection method, device, electronic device and storage medium

The present invention provides a Java memory malware detection method, device, electronic device, and storage medium. The method comprises: obtaining a loaded class to be detected from a Java virtual machine; if the loaded class to be detected is an untrusted class, detecting whether the loaded class to be detected is a sensitive class; wherein a sensitive class is any one of the following: a class, a filter, and a listener used by a server to receive requests; if the loaded class to be detected is a sensitive class, detecting whether a corresponding file exists on the server for the loaded class to be detected; if the corresponding file does not exist on the server for the loaded class to be detected, issuing an alarm message indicating that the loaded class to be detected is a Java memory malware. The present invention can effectively detect memory malware running in a Java virtual machine, overcomes the defect of the prior art that is unable to detect Java memory malware, and improves the accuracy of Java memory malware detection.
Owner:QI AN XIN TECHNOLOGY GROUP INC +1

Java bytecode injection methods and apparatuses, electronic devices, and storage media

This specification provide example Java bytecode injection methods, apparatuses and machine-readable storage media, which can be applied to a Javaagent framework deployed in a Java virtual machine. In an example, a to-be-injected Java bytecode submitted by a target service module in at least one service module is obtained, and a target implementation class corresponding to the to-be-injected Java bytecode is determined. A target injection point type corresponding to the target implementation class is determined, and the target injection point type is respectively matched with mapping relationships maintained in the Java virtual machine to determine a target injection mode corresponding to the target injection point type. A globally unique class transformer is invoked so that the class transformer injects, based on the target injection mode, the Java bytecode into a class file that corresponds to the target service module and that is to be loaded by the Java virtual machine.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Log desensitization printing method and device based on desensitization agent, equipment and medium

The invention relates to the technical field of information security, and discloses a log desensitization printing method, device and equipment based on a desensitization agent.The method comprises the steps that the desensitization agentis designated in Java service through mounting parameters, and an initialization method in the desensitization agentis called; based on an initialization method, calling an interception modification method by utilizing an expansion interface of the Java virtual machine to register a log desensitization converter; when the class is loaded by the Java virtual machine, calling a conversion method in the log class desensitization converter to perform desensitization enhancement on the log content class; and calling an information formatting method in the desensitized and enhanced log content class to print the log content. According to the method, a desensitization agent is appointed in a Java service, when a class is loaded in a Java virtual machine, a conversion method in a log class desensitization converter is called to perform desensitization enhancement on a log content class loaded in the Java virtual machine, and finally corresponding log content is printed. In this way, the log content can be printed more simply, conveniently, efficiently, flexibly and safely.
Owner:CHINA PING AN LIFE INSURANCE CO LTD

Efficient garbage collection method based on Java virtual machine

The invention discloses an efficient garbage collection method based on a Java virtual machine, and relates to the technical field of memory management. Comprising the steps that 1, based on a Java virtual machine, a heap space is divided into a permanent area, old generations and new generations in sequence, free space of any old generations is not reserved for the permanent area, when new generation garbage collection is conducted every time, the length of the old generations is dynamically increased, and the remaining space of the new generations serves as the new generations; 2, marking reachable objects as live objects, copying all the live objects in a new generation to an old generation, tightly connecting the new generation to the tail of the old generation, starting garbage collection of the old generation when the space of the old generation is insufficient, and compressing all the live objects of the old generation to the head of the old generation; and during full collection, the live objects in the heap space are copied and compressed, so that memory fragments are avoided.
Owner:INSPUR SOFTWARE CO LTD

Memory management in containers initiated with contiguous memory of fixed size

An aspect of the present disclosure is directed to memory management in a digital processing system. A first instance of a container (e.g., Java Virtual Machine (JVM)) is initiated with a first contiguous memory of a first fixed size. A set of applications is executed within the first instance. Upon receiving from an application, a request for an additional amount of memory, the system determines whether the additional amount can be allocated within the first contiguous memory. If the additional amount can be allocated, a first memory space of the additional amount is allocated to the application within the first contiguous memory. If the additional amount cannot be allocated, a second instance of the container is initiated with a second contiguous memory of a second fixed size and a second memory space of additional amount is allocated to the application within the second contiguous memory.
Owner:ORACLE INT CORP

Abnormality processing method and device, computer equipment and storage medium

The invention provides an exception handling method and device, computer equipment and a storage medium. The method comprises the steps that before a target function is executed by a preset target thread, a stack seed corresponding to the target function is generated; calling a preset global hash table; judging whether a record matched with the stack seed exists in a global hash table or not; if the record matched with the stack seed exists in the global hash table, generating a corresponding abnormal signal based on a preset signal scheduling strategy; and sending the abnormal signal to the target thread to stop execution of the target virtual machine corresponding to the target thread. According to the method, abnormal recursion identification is carried out on the function based on the use of the global hash table and the stack seed, and the abnormal signal is sent, so that the generation of abnormal recursion can be timely and accurately detected in a non-production environment without being influenced by an abnormal capture mechanism of the Java virtual machine; and the detection accuracy of the abnormal recursion of the target function is effectively improved.
Owner:SHENZHEN YISHIHUOLALA TECH CO LTD

Inter-environment use of java virtual machines for multiple address modes

Described techniques enable inter-environment communication between a first runtime environment and a second runtime environment of an operating system. A function requested by an application executing in the first runtime environment may require execution by a second application running in a virtual machine in the second runtime environment. An address mode (AMODE) of the virtual machine may be determined from among at least two AMODEs. The second runtime environment may be launched from the first runtime environment, and the virtual machine may be launched within the second runtime environment, using the AMODE. The function may then be executed using the second application.
Owner:BMC SOFTWARE INC

A method for improving JVM performance based on SIMD

The application relates to the technical field of Java virtual machines, and particularly discloses a method for improving the performance of a JVM based on SIMD, which comprises the following steps: obtaining a loop logic instruction in Java code, processing the compiled loop logic instruction to obtain a SIMD instruction set; parsing a loop logic operation in a Java instruction to obtain an assembly instruction; sending the assembly instruction to a CPU through the SIMD instruction set; and obtaining a calculation result returned by the CPU after SIMD operation. The application parses common data loop logic operation into a SIMD instruction set, and all data are loaded into the CPU at a time in the mode of executing one operation based on the SIMD instruction set, so that the data operation efficiency is improved, the CPU is prevented from repeatedly executing simple work, the processing performance of the CPU is saved, and the running efficiency of the Java virtual machine is improved.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Bluetooth data transmission architecture, method, equipment and device based on Android system

The present invention discloses a Bluetooth data transmission architecture, method, equipment and device based on Android system, the method comprising: a data transmission module extracts data in a file descriptor and transmits the data to a protocol module; the protocol module parses the data according to a flag bit and transmits the parsed data to a data processing module; the data processing module processes the parsed data and transmits the processed data to the protocol module when receiving a data sending instruction; the protocol module encapsulates the processed data according to a Bluetooth transmission protocol and transmits the encapsulated data to the data transmission module; the data transmission module writes the encapsulated data into a file descriptor. The present invention sets a data processing module, a data transmission module and a protocol module at the hal layer, the protocol module parses the data, and the data processing module processes the parsed data, so that data transmission via Bluetooth can be realized without using the framework layer of a Java virtual machine.
Owner:武汉凡鱼科技有限公司

Instant messaging concurrent data processing system

The invention provides an instant messaging concurrent data processing system, which comprises a plurality of clients and a server running based on a Linux operating system, and the server is connected with each client, receives a concurrent request and responds to the concurrent request. And the server side adjusts the maximum monitoring queue length of the port and the maximum value of the socket transceiving buffer area, and / or starts waiting type TCP connection rapid recovery, and / or sets the maximum handle number of the system of the Linux operating system, the maximum handle number of the specified user and the maximum handle number of the single process to be the same value. Setting the heap space initial value of the Java virtual machine to be consistent with the maximum value, optimally configuring the thread stack space, adjusting the memory space proportion of the old and young Java virtual machines, and configuring a G1 garbage collector. The database uses a cache database and an underlying database. The system is comprehensively optimized from the aspects of an operating system, a Java virtual machine, a database and the like, the instant messaging concurrent data processing capacity is improved, and compared with an existing optimization scheme, the cost is lower.
Owner:DIANKEYUN (BEIJING) TECH CO LTD