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

56 results about "Java virtual machine" patented technology

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

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

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

ActiveUS12530501B1Dot-and-dash transmission apparatusDigital data protectionSoftware engineeringApplication procedure
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

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

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

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

Link tracking sampling rate adjusting method and device

PendingCN121858401AImplement tracking sampling rate adjustment methodAchieve automated real-time adjustmentsProgram initiation/switchingHardware monitoringData ingestionData mining
The invention discloses a link tracking sampling rate adjusting method and device, relates to the technical field of cloud computing and can also be used in the financial field, and the method comprises the following steps: obtaining tracking index data including a tracking sampling rate and index data of a JAVA virtual machine; extracting host name and service name information based on the index data of the JAVA virtual machine; and adjusting the tracking sampling rate corresponding to the corresponding service of the corresponding host based on the index data of the JAVA virtual machine, the tracking sampling rate, the host name and the service name information. Therefore, automatic real-time adjustment of the link tracking sampling rate of the specific service on the specific host is realized, manual intervention is not needed, the labor cost is reduced, and the problem of data redundancy caused by improper setting of the sampling rate is avoided.
Owner:CHINA CONSTRUCTION BANK +1

An HDMI audio acquisition method based on AUDIOTRACK

This application provides an HDMI audio acquisition method based on AUDIOTRACK. The method includes: obtaining a Java Virtual Machine instance in the Java native interface initialization function of the native library, obtaining a reference to the target callback method in the Java layer based on the Java Virtual Machine instance, responding to the start of audio acquisition, calling the target audio acquisition method in the Native layer to initialize the HDMI capture card and configure the corresponding acquisition parameters, acquiring the corresponding audio data from the HDMI capture card, calling the set callback function in the Native layer, and transmitting the audio data in real time to the target player of the Android system running in the Java layer based on the callback function, receiving the audio data through the target player of the Android system, and outputting the audio data to the audio device after resampling and clock synchronization processing by the target player.
Owner:BEIJING TRICOLOR TECH

Micro-service dynamic adjustment method and device based on digital epigenetic mechanism

The invention discloses a micro-service dynamic adjustment method and device based on a digital epigenetic mechanism. Comprising the steps of collecting global operation indexes of the micro-service system in real time; and dynamically generating a mark updating instruction for the at least one micro-service instance based on the global operation index and a predefined regulation and control strategy, and updating the digital apparent mark of the at least one micro-service instance based on the mark updating instruction, the digital apparent mark is used for defining a service role of the micro-service instance when the micro-service instance runs in the micro-service system; and when a mark interpreter built in the micro-service instance detects that the digital apparent mark associated with the micro-service instance is updated, starting a corresponding function module in the micro-service instance based on the updated digital apparent mark under the condition that the Java virtual machine of the micro-service instance is not restarted. The micro-service instance roles can be dynamically switched, and the resource utilization rate is improved.
Owner:QIAN JIN NETWORK INFORMATION TECH SHANGHAI LTD

Java virtual machine fuzzing method based on historical test information feedback

The application discloses a Java virtual machine fuzzing test method based on historical test information feedback, and first, a corpus is formed by collecting patch test codes for repairing historical defects from OpenJDK, then the repair code segments of the corpus are parsed, and defect-related code segments are extracted, and the defect-related code segments are assembled to obtain test cases, so that defect triggering segments can be used as much as possible to cover deep defect source code branches. Then, the assembled test cases are subjected to differential testing, and the defect-related code segments are fed back and scheduled through historical test information in the differential testing process, so that functional defects and software vulnerabilities of the JVM can be found more efficiently.
Owner:NORTHWEST UNIV

JVM parameter dynamic adjustment and automatic retry method and system based on DataX

The invention discloses a DataX-based JVM (Java Virtual Machine) parameter dynamic adjustment and automatic retry method and a DataX-based JVM parameter dynamic adjustment and automatic retry system. The method comprises the steps that a DataX task is triggered, and initial JVM parameters are configured; monitoring a task running state, capturing OOM abnormity in real time, and sending abnormity information containing a task identifier and a current JVM parameter to an independent Task Runner Wrapper service through a message queue; the service dynamically generates new JVM parameters and concurrent parameters according to a preset rule, records retry times and sends a task restart request; the scheduling platform uses the new parameters to re-execute the task; and judging whether the number of retry times reaches a preset upper limit or whether the new parameter exceeds a memory upper limit before each retry, and if yes, terminating retry and giving an alarm. According to the method, automatic detection of OOM errors and intelligent adjustment of task-level JVM parameters are achieved, the success rate of large object data synchronization is remarkably increased, fine management of resources is achieved, and operation and maintenance dependence is reduced.
Owner:CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD

A task execution method and system based on dynamic class loading

The present invention provides a task execution method and system based on dynamic class loading, belongs to the field of computer technology, includes creating a basic platform class loader, and building a connector index in the basic platform class loader; creating a task class loader group, a policy class loader group and a connector class loader group respectively, each group generates an independent and isolated class loader for each loaded JAR package; after the task and policy class loaders receive a class loading request, the class loading request is passed to the basic platform class loader according to a parent delegation mechanism delegation; it locates the connector class loader corresponding to the class loaded by the request through the connector index according to the class loading request, creates a class object according to the class loaded by the request, and returns the class object to the policy class loader and the task class loader according to the delegation path. It pre-allocates resources using the class loader by pre-deploying the running resources of the Java virtual machine, thereby reducing the startup time during task execution.
Owner:YUSYS TECH CO LTD

Java optimized order processing and logistics tracking method and system in e-commerce environment and related equipment

The invention provides a Java optimized order processing and logistics tracking method and system in an e-commerce environment and related equipment. The method comprises the following steps: in an order system running in a Java virtual machine, inserting a link data acquisition instruction into a target type method for processing an order state, payment calling and logistics interaction based on a bytecode enhancement method; constructing data acquired in response to the link data acquisition instruction into a link state sequence consisting of a service identifier, a node position, time consumption and an abnormal identifier; inputting the link state sequence into a reinforcement learning agent with a preset state space and an action space, and outputting a diagnosis action instruction including exception reporting, sampling enhancement, node marking and instrumentation adjustment; adjusting the sampling frequency, the collection field and the instrumentation configuration of the link data collection instruction according to the diagnosis action instruction; and recording a link state sequence, a diagnosis action instruction and a system operation index, and updating strategy model parameters of the reinforcement learning agent according to the link state sequence, the diagnosis action instruction and the system operation index.
Owner:孙雪丹

Method and device for protecting against java malicious command execution

The embodiment of the present application provides a kind of Java malicious command execution protection method and device, Java virtual machine executes the command issued by target program, and triggers monitoring point to monitor target program;Monitoring point obtains the execution thread of the command issued by target program, and detects the stack of execution thread, obtains the category of the execution code of command;If the category of execution code does not exist on the preset whitelist, monitoring point issues alarm through dynamic alarm module.In Java virtual machine, a small number of monitoring points are set to monitor target program, reduce Java virtual machine performance loss;By judging the category of execution code is not on the preset whitelist, unknown vulnerabilities can be protected.
Owner:QI AN XIN TECHNOLOGY GROUP INC +1

Methods, systems, media, and devices for Java garbage collectors in heterogeneous memory

This invention provides a method, system, medium, and device for garbage collection in a Java garbage collector for heterogeneous memory. This garbage collector follows the approach of generational garbage collectors. Its key feature is that, addressing the unsuitability of writing operations on non-volatile memory, it re-partitions the Java heap to mitigate the impact of poor write performance and low write endurance on non-volatile memory. Compared to existing technologies, this invention captures the semantics of Java objects, thereby improving performance and reducing wear and tear on non-volatile memory. Furthermore, based on the mainstream Java Virtual Machine, it is easy to promote and apply.
Owner:SHANGHAI JIAOTONG UNIV

Micro-service deployment method and device based on virtual machine sandbox, electronic equipment and storage medium

The present disclosure provides a virtual machine sandbox micro-service deployment method, device, electronic equipment and storage medium, the method comprising: obtaining deployment files of a plurality of micro-services, obtaining respective startup entry information of the plurality of micro-services based on the deployment files; for the plurality of micro-services, creating a sandbox environment in a Java virtual machine process; and starting the plurality of micro-services in the sandbox environment in the Java virtual machine process based on the startup entry information. The present disclosure enables deployment of a plurality of micro-services in one virtual machine process.
Owner:CHINA MOBILE SHANGHAI ICT CO LTD +1

Log content modification method and device, electronic equipment and storage medium

The application relates to a log content modification method and device, electronic equipment and a storage medium, the method comprising the following steps: starting a Java probe corresponding to a target application, and registering a class bytecode converter by using the Java probe; acquiring configuration data from a configuration center by using the Java probe, and supporting dynamic modification of to-be-inserted log content and an insertion position; in the case that the class bytecode converter detects that a currently loaded class in a Java virtual machine matches the configuration data, or in the case that the Java probe detects that configuration data in the configuration center is changed, modifying target class bytecode by using the class bytecode converter, so that the Java virtual machine generates modified log content based on the modified target class bytecode. In this way, the log content of the target application can be dynamically modified without modifying business code and restarting a background service, the log content modification time is shortened, and the modification efficiency of the log content is improved.
Owner:BEIJING QIYI CENTURY SCI & TECH CO LTD

Data monitoring method, device and computer device of JAVA virtual machine, and storage medium

The application provides a JAVA virtual machine data monitoring method, device and computer device, and a storage medium, comprising the following steps: configuring a plug-in for connecting Prometheus in a target application of a micro-service cluster, and configuring a monitoring function module of the application, which is used for Prometheus to discover monitoring index interfaces configured by the monitoring function module for monitoring the target application; writing an operation and maintenance feature description configuration file of the target application, including writing application feature information in metadata of the service, so that Prometheus automatically discovers the target application, thereby discovering the monitoring index interfaces configured by the monitoring function module of the target application; adding a real-time monitoring library of the target project in a Prometheus configuration file; and configuring application feature information to be dynamically discovered by Prometheus; configuring Prometheus address information for Grafana, so that Prometheus is connected with Grafana; and checking a JAVA virtual machine state of the target application of the micro-service cluster configured by Prometheus.
Owner:ZHAOTONG LIANGFENGTAI INFORMATION TECH CO LTD

Excel data exporting method and device

The invention discloses an Excel data exporting method and device. The Excel data exporting method is executed in the same Java virtual machine in sequence. The method comprises the steps that a level signal receives original data and places the original data into a temporary magnetization file; loading the JSON mapping file with the version number into a memory heap; analyzing and mapping to generate an XSSFWorkbook template object; a field level ConcurentHashMap style cache is established, and data filling is completed; when the row count reaches a hardware constant, newly establishing a sheet, writing the charge image into a disk in a streaming manner, and immediately releasing the memory of the sheet; finally, the magnetization direction sequence is converted into optical pulses through DMA, the optical pulses are returned to a client side, and meanwhile the TRIM erases the temporary file. According to the method, under the condition that an SXSSF is not used, complex cell merging and low memory occupation are considered, version rollback is supported, the style cache is synchronously destroyed along with the sheet life cycle, and rapid, flexible and idempotent export of a large file is achieved.
Owner:BEIJING CHESHANGHUI SOFTWARE