Supercharge Your Innovation With Domain-Expert AI Agents!

Method for obtaining server identifier and device thereof, equipment and medium

A server identification and server technology, applied in the computer field, can solve the problems of increasing labor costs and operation and maintenance costs, and achieve the effect of reducing labor costs and operation and maintenance costs

Pending Publication Date: 2021-04-23
AGRICULTURAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If each server adds a JVM parameter to set the server name, it will inevitably increase labor costs and operation and maintenance costs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for obtaining server identifier and device thereof, equipment and medium
  • Method for obtaining server identifier and device thereof, equipment and medium
  • Method for obtaining server identifier and device thereof, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The solutions in the embodiments provided in the present application will be described below with reference to the drawings in the present application.

[0049]The terms "first" and "second" in the embodiments of the present application are used for description purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features.

[0050] First, some technical terms involved in the embodiments of the present application are introduced.

[0051] WebSphere is the software platform that includes the entire middleware infrastructure needed to write, run and monitor 24 / 7 industrial-strength on-demand Web applications and cross-platform, cross-product solutions. WebSphere can provide a secure, scalable, and elastic application infrastructure to help build, run, integrate, and...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for acquiring an identifier of a WebSphere server. According to the method, when a Spring application container is started, a service container initialization class is loaded, a service container initialization class starting method containing specified class objects is called, implementation classes of the specified classes are obtained, instantiation is conducted on the implementation classes of the class objects, instances of the implementation classes of the specified class objects are added into a queue, and the starting method of the instances in the queue is called; and the server identifier of the server where the container is located is obtained from the application context, so that the server identifier can be automatically obtained, and the labor cost and the operation and maintenance cost are reduced.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a method, device, device, and computer-readable storage medium for acquiring a server ID. Background technique [0002] WebSphere is a software platform widely used in the industry. The software platform includes the entire middleware infrastructure, such as servers, services and tools, needed to author, run and monitor on-demand Web applications and cross-platform, cross-product solutions. [0003] The WebSphere operating framework is as follows figure 1 As shown, the node node usually corresponds to a real virtual machine such as a Linux virtual machine, which has its own IP and runs on a physical machine in the data center. Multiple WAS servers (servers) can be established on each node, and each server can independently manage its own internal Java applications, and each WAS server has its own Java virtual machine (Java virtual machine, JVM) process. A clust...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/48G06F9/455H04L29/08
CPCG06F9/4881G06F9/45558H04L67/146G06F2009/45595Y02D10/00
Inventor 吴海冰王智愚杨鹏
Owner AGRICULTURAL BANK OF CHINA
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More