Model expansion method and device and readable storage medium

An extension method and model technology, applied in the computer field, can solve problems such as system security risks and consumption

Pending Publication Date: 2022-02-18
YONYOU NETWORK TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (2) Involving dynamic generation and loading of classes (classes) has a certain consumption on the performance of the deployed application system JVM (

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
  • Model expansion method and device and readable storage medium
  • Model expansion method and device and readable storage medium
  • Model expansion method and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] Such as figure 1 As shown, this embodiment provides a model extension method, including the following steps:

[0044] Step S102, obtaining a model programming template;

[0045] Step S104, according to the model extension requirements, based on the application programming interface list, using the import file mechanism to write the model programming template to obtain the extended model.

[0046] In this embodiment, the model programming template is written using the Groovy programming language. Based on the user's needs, multiple model programming templates can be set. The user selects the required model programming template according to the actual situation, and writes on the model programming template, which improves the The availability of programming, users do not need to master Java, Groovy Script and other programming languages.

[0047] In this embodiment, the groovy programming language can be used to provide an application programming interface list (that is...

Embodiment 2

[0050] Such as figure 2 As shown, this embodiment provides a model extension method. In addition to the technical features of the above embodiments, this embodiment further includes the following technical features:

[0051] Adopting the import file mechanism involves the following steps:

[0052] Step S202, setting an import file, the import file includes a JAR file;

[0053] Step S204, when writing the model programming template, import related import files according to requirements.

[0054]In this embodiment, according to requirements, the import file can be preset. The import file can be a JAR file (i.e. JAR package, Java Archive File). This embodiment adopts the import file mechanism (i.e. the import package mechanism). When the user uses it, only The JAR file provided by the system can be used, which can remove system security implications while being convenient to use, ensure system security, and reduce system risk.

Embodiment 3

[0056] Such as image 3 As shown, this embodiment provides a model extension method. In addition to the technical features of the above embodiments, this embodiment further includes the following technical features:

[0057] The model extension method also includes the following steps:

[0058] Step S302, setting a security manager, by adding the blacklist of the security manager, prohibiting the programming template of the model from appearing in the blacklist.

[0059] This embodiment is based on the groovy programming language, and the SecureASTCustomizer security manager provided inside Groovy can be used to prohibit adding content in the blacklist when writing the model programming template. When the user is in use, this embodiment can prevent the user from using the content in the blacklist to program, effectively remove system security implications, ensure system security, and reduce system risks.

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 model expansion method and device and a readable storage medium. The model expansion method comprises the following steps: collecting a model programming template; and compiling the model programming template by adopting an import file mechanism based on the application programming interface list according to a model expansion requirement to obtain an expanded model. According to the technical scheme, programming is carried out on the model programming template, and the usability of programming is improved. The application programming interface list is provided, a file importing mechanism is adopted, the processes of system development, test deployment, online and the like do not need to be carried out, and the cost is effectively reduced. The system security implicit is removed, the system security is ensured. The system risk is reduced while the use is convenient through an import file mechanism.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a model extension method, device and readable storage medium. Background technique [0002] In the face of complex data scenarios in actual projects, the data cannot be intervened in the process of analysis and modeling. Because the generality of the model is not strong, customized development is time-consuming and laborious, and customization also requires development, testing, online deployment and other processes, which consumes a lot of manpower and material resources and increases costs. [0003] Based on dynamic programming, users can program through the page, intervene in the model, and get the target model, but there are the following problems: [0004] (1) The technical requirements are relatively high, requiring users to understand Java language (computer programming language), Groovy Script language (computer programming language). [0005] (2) Involving dy...

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): G06F8/20G06F8/41G06F9/455
CPCG06F8/24G06F8/41G06F9/45504G06F9/45558
Inventor 郭福
Owner YONYOU NETWORK TECH
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
Try Eureka
PatSnap group products