Python-based plug-in generation method and device, equipment and storage medium

A technology for generating devices and storage media, applied in software design, program control devices, and creating/generating source code, etc., can solve the problem of high difficulty in writing, achieve flexible and changeable design, flexible and changeable control process design, and reduce plug-in writing. effect of difficulty

Active Publication Date: 2020-04-17
XIAN SECLOVER INFORMATION TECH CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing plug-in technology generally has two main forms, one is code-centered, and the plug-in writer provides a certain structured code, which is more difficult to write; the other is data-centered, and the framework provides a fixed Logic, the plug-in only needs to provide structured data in a fixed format

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
  • Python-based plug-in generation method and device, equipment and storage medium
  • Python-based plug-in generation method and device, equipment and storage medium
  • Python-based plug-in generation method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this 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 creative efforts fall within the protection scope of this application.

[0031] The existing plug-in technology is considered in two ways. The first type is based on code and has flexible logic, but it is difficult to write and the standardization of plug-ins is poor. It requires manual agreement and manual review to determine the quality of plug-ins. The second type takes data as the core, is simple to write, and has a standardi...

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 Python-based plug-in generation method and a device, equipment and a storage medium, and the method comprises the steps: obtaining a Python-language-based plug-in template which comprises a parameter statement and is used for declaring the type and name of to-be-filled data allowed to be customized by a plug-in writer; extracting a parameter statement in the plug-in template; analyzing the parameter statement to obtain a data structure of to-be-filled data; and according to the plug-in template, performing filling according to the data of the to-be-filled data structure to generate a plug-in. Compared with the prior art, a template writer writes a template, a plug-in writer customizes the type and name of to-be-filled data according to the parameter Sudoms of the template writer, and the plug-in writing difficulty is remarkably reduced by separating logic and data parts; the parameter statement can analyze the data structure of the data to be filled in, so thatthe control flow design of the template is flexible and variable, and the data structure can be defined at will.

Description

technical field [0001] The embodiments of the present application relate to the technical field of computer software, and in particular to a method, device, device, and storage medium for generating plug-ins based on Python. Background technique [0002] In the field of network security, plug-in technology is a commonly used means of program function extension. A plug-in refers to a code fragment that has specific functions, but cannot be executed independently, and must rely on a certain framework for execution. Plug-in technology usually has a main frame that can load and execute plug-ins, and many plug-ins with different functions to realize the function extension of the program. The main framework provides some basic functions, such as plug-in loading, scheduling, concurrency, etc. The plug-ins provide specific function points, and each plug-in is responsible for a small number of different functions. The feature of the plug-in is that the functions of the main framewo...

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 Applications(China)
IPC IPC(8): G06F8/20G06F8/35G06F9/445
CPCG06F8/20G06F8/35G06F9/44526
Inventor 刘浩杰李鹏轩赵培源
Owner XIAN SECLOVER INFORMATION TECH CO LTD
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