Application program starting method, computer equipment and computer readable storage medium

A technology of computer equipment and application programs, which is applied in the field of application program startup and computer-readable storage media, can solve the problems of heavy workload, large number of bean files, and long initialization time of application programs, so as to save initialization time and improve Efficiency, the effect of reducing the startup initialization time

Pending Publication Date: 2021-09-07
YGSOFT INC
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the prior art, the delay loading attribute setting of the bean file in the Spring framework is completed by manual programming in the source file of the application program, and two setting methods are usually adopted: one is to carry out lazy loading identification on the bean file in the source file ; The second is to mark the delay loading of the configuration list in the source file, but the above two schemes are based on the delay loading attribute setting of the source file. If there is a need to switch the delay loading attribute setting, the source file can only be manually The logo in the file is re-modified, and flexible dynamic switching cannot be realized, and the number of bean files in the source file is huge. If you want to filter and identify all the bean files, the workload is heavy, and you need to re-edit the modified source file later. The file is initialized, resulting in a long startup initialization time for the application in the Spring framework

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
  • Application program starting method, computer equipment and computer readable storage medium
  • Application program starting method, computer equipment and computer readable storage medium
  • Application program starting method, computer equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0016] see figure 1 , figure 1 It is a schematic flow chart of an embodiment of the application program startup method provided by this application, and the application program startup method includes:

[0017] Step 11: Get the source files of the application.

[0018] The method in this embodiment can be applied to the startup initialization process of the application program in the Spring framework. The startup initialization process of the application pro...

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 an application program starting method, computer equipment and a computer readable storage medium, and the application program starting method comprises the steps of acquiring a source file of an application program, wherein the source file does not contain a file necessity degree identifier; performing scanning processing on the source file to obtain a bean file; and carrying out attribute setting of a file necessity degree on the bean file. In this way, the initialization time can be shortened.

Description

technical field [0001] The present application relates to the technical field of the Spring framework, in particular to an application program starting method, computer equipment and a computer-readable storage medium. Background technique [0002] In the prior art, the delay loading attribute setting of the bean file in the Spring framework is completed by manual programming in the source file of the application program, and two setting methods are usually adopted: one is to carry out lazy loading identification on the bean file in the source file ; The second is to mark the delay loading of the configuration list in the source file, but the above two schemes are based on the delay loading attribute setting of the source file. If there is a need to switch the delay loading attribute setting, the source file can only be manually The logo in the file is re-modified, and flexible dynamic switching cannot be realized, and the number of bean files in the source file is huge. If ...

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/445
CPCG06F9/44505G06F9/44521
Inventor罗建光刘辉军
OwnerYGSOFT INC