Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

A launcher and method of launching

A launcher and configuration file technology, applied in the direction of program loading/starting, program control devices, etc., can solve the problems of high startup cost, large workload, and complex configuration files of Java independent applications, so as to reduce the configuration workload and reduce The effect of start-up costs

Inactive Publication Date: 2017-03-01
TELEFON AB LM ERICSSON (PUBL)
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Because the configuration file is too complicated, when there are more and more independent Java applications on the JVM (Java Virtual Machine, Java Virtual Machine), it will be very cumbersome and heavy to configure each application one by one. Resulting in higher startup costs for each Java stand-alone application

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
  • A launcher and method of launching
  • A launcher and method of launching
  • A launcher and method of launching

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] Embodiment 1 of the present invention discloses a starter, such as figure 1 As shown, the launcher includes a reading module 100 , a path generating module 200 and a loading module 300 .

[0049]The applicant found through research that although the configuration files of Java independent applications are too complicated, each application needs to be configured similarly, that is, the work of starting configuration for multiple Java independent applications includes a lot of repetitive work. Based on this situation, in order to reduce the workload of startup configuration and reduce the cost of application startup, the present invention obtains the repeated and identical configuration items of each Java independent application in advance, and adds them as common configuration items to the launcher configuration file for one-time execution. Configuration, the launcher configuration file is used as a common file for subsequent launching of each Java independent applicatio...

Embodiment 2

[0066] The second embodiment of the present invention discloses another structure of the starter, which includes the modules in the first embodiment. Please refer to image 3 , and also includes a log redirection module 400 , an encryption module 500 , a search module 600 , a decryption module 700 and a return module 800 .

[0067] The log redirection module 400 is used for redirecting the log to the file specified by the log configuration.

[0068] The log configuration is included in the application configuration file, that is, in the second embodiment, the application configuration file also includes the log configuration on the basis of including the application classpath.

[0069] The encryption module 500 is configured to encrypt the class or configuration file or code file of the target Java independent application that needs to be encrypted.

[0070] Among them, the configuration file is specifically the configuration file required for accessing the target service dur...

Embodiment 3

[0081] Embodiment 3 of the present invention continues to improve and optimize the starters in Embodiments 1 and 2, such as Figure 4 As shown, it also includes a plug-in deployment module 900 and a path hiding module 1000 on the basis of the modules introduced above.

[0082] The plug-in deployment module 900 is configured to dynamically load the changed code when the code of the target Java independent application is changed.

[0083] The Java stand-alone application in the prior art cannot implement plug-in deployment, that is, cannot dynamically load the changed code. When the code is changed, the application needs to be stopped and restarted to load the changed code. In view of this drawback, the present invention provides a plug-in deployment module 900 to solve this problem and realize the function of dynamically loading the changed code. Specifically, this module adds a check code to the code in advance, and stipulates that when the code is changed, the check code is ...

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 discloses a starter and a start method. The starter comprises a reading module, a path generating module and a loading module. The start method comprises the following steps: adding the same configuration items of each Java independent application as public configuration items into a starter configuration file in advance for configuring; reading the public configurations and a configuration file of a target Java independent application by using a reading module; generating complete classpath according to the public configurations and application configurations by using the path generating module; loading the entry class of the target Java independent application on the basis of the complete classpath by using the loading module to start a target application. According to the start method, the same configuration items of each Java independent application are configured at one time as public configuration items, so that only specific configuration items except the public configurations of the Java independent applications need to be configured, the configuration workload of each application is reduced, and the start cost is reduced.

Description

technical field [0001] The invention belongs to the technical field of management and maintenance of Java independent applications, in particular to a launcher and a launch method. Background technique [0002] The Java independent application is started based on the startup command. Before each Java independent application is started, the script of the startup command used by the application needs to be configured according to the server conditions in the production environment. [0003] Because the configuration files are too complex, when there are more and more independent Java applications on the JVM (Java Virtual Machine), it will be very cumbersome and workload to fully configure each application one by one. As a result, the startup cost of each Java independent application is relatively high. SUMMARY OF THE INVENTION [0004] In view of this, the purpose of the present invention is to provide a launcher and a launch method, so as to overcome the above problems, re...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445
Inventor 廖锦波
Owner TELEFON AB LM ERICSSON (PUBL)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products